I just saw a video from James May yesterday about some electric hypercar where he comes to the conclusion that the battery is best placed where the engine would be in a mid-engine car. Because so the mass is at the center of gravity.
The center of gravity will be where the mass puts it.
I don't actually agree with May, I think you should keep the COG in a car as low as possible until it starts to interfere with your ground clearance.