Yes, if there's some tax left.
Up until 2014, when you sold a car, any remaining road tax was transferred with the car, but that's no longer the case. Now, as soon as ownership is transferred to us, the DVLA will automatically issue you with a refund if there's tax left.