Well, they’d only need enough batteries to cover the distance without overhead lines. So for shortish sections it’s probably fine, just charge while on the powered section.
Das ist weil du eins aus dem sixer sofort trinken sollst.
What about ChameleOS?
If you still haven’t found it, DM me.