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.
https://www.fastcompany.com/3028159/a-broken-place-better-pl...