Or have a battery that's shaped like a fuel tank? Maybe you won't get the same range as battery all over but it's prob enough for most people?
Today the range would be pretty bad though, but probably fine for a classic car grocery getter or trailer/show queen.
I'm not sure where all the rest are going to go, but probably most will be in the engine compartment somewhere.
I could also use the space where the muffler was, but I'd have to make sure there's enough weight in the front of the car to offset it.
EDIT: hence the flatter/thinner batteries we see in EVs.