I recall China experimenting with something similar some years ago, except their bus used pantograph chargers. It ran on supercaps - they only last a few minutes, but that's long enough to get to the next stop. I don't want to think about the peak charging current though!