It seems to me that as '34th........andd' says charging from the track is the easy option. Not all track would even need to be powered. Forget about points, reversing loops, track in tunnels...just power the straight, easy to access bits of track, and anywhere a loco stands. Platforms, sheds, sidings, all powered. Engines are not running continuously. Providing that their standing still time is on a powered a bit of track, and some of their running time as well, they should cope. With a bridge rectifier in the charging circuit it wouldn't matter which way round the dc supply was, or it could even be ac. Providing it was beefy enough and regulated this supply could feed anything around the layout, such as lighting, and save an awful lot of wiring.