Buying the car and hot swapping the batteries (with an automated machine similar to going through a car wash, no less) was the vision of A Better Place, a short lived Israeli startup. That company failed, but I wouldn't say it's impossible by a long shot.
And here, for comparison, is the original Wired hype article I remember first reading which led me to wondering "hey what ever happened…" a few years ago.
https://www.wired.com/2008/08/ff-agassi/