Could be, but I like the idea tested in Sweden a decade or so ago (never heard the final POV) of no over head wires. Instead a "light post" with contacts at each (or most) regular stops. The urban bus has small modern high energy density flywheel that is soaking up energy while the passengers get on and off. Bus keeps a fixed schedule with any extra charging time needed at end of the line, or transfer points where several buses met and wait for each other etc. also used for energy storage.Electric bus...would that be... a trolley? They still make them. Portland has a couple.
I do not remember details, but am nearly sure the Swedish bus had a simple heavy iron flywheel, not a modern one of high-strength radial fibers spinning in a vacuum at very high speed. A modern bus-sized flywheel can store at least 10 times more energy per pound, even when the vacuum housing weight is considered than an old iron one. Perhaps recharge only at the ends of the line while driver gets his "coffee break"? (A modern flywheel can "run rings around"
I do not know why there is so little consideration of them for urban public transport. Seems like just the type of high tech approach that should appeal in the US. Here in Brazil we still, in small cities, extensively use the very efficient, grass-powered system, you call in English "horse and buggy"