Yeah I think that works now. But it isn't scalable with current battery technology if most of the cars on the road are EVs. If it was the case, perhaps you had to wait in long queues every time you want to charge.
EVs need much longer range, or much faster charging time. Otherwise it will not be scalable.