How is it more impractical than changing the tires?
Well batteries are much much heavier and would likely be in the centre of the car for weight distribution, and you need to make the electrical connection. Changing a tyre during a race just takes a speed gun and one nut.
You just need to develop some sort of "liquid battery" and pump it in some sort of receptacle, or tank, in the car.