The Byron Bay Railroad Company runs the world’s first 100% solar-powered train. It wouldn’t work everywhere - but in the bright sunshine of Australia, it might just be the right tool for the job.
More about the railroad: https://byronbaytrain.com.au/
I didn’t watch the video, but wouldn’t it be even better between the rails.
No, the solar panels on the station roofs and on the train are easily enough to power the train.