Of course, there were some ideas.
In Germany some type 38, a prussion P8 locomotive, and type 78, the prussion T18 locomotive were converted for turn-over-trains.
Like modern suburban trains there was a control cab in the front car and the locomotive at the other end of the train.
As long as the locomotive pulled the train, the engineer was driving, and the fireman was making water and coal to the best.
At the end station, the engineer left the footplate, got to the control cab at the other end of the train, and now the locomotive wan't pulling anymore, it had to push the train along.
So the fireman had to do coal and water on his best, but had regulary also adjust throttle and gears to make the best out of the engine. The enginer in the cab had something like a machinery telegraph, for which he could have called for more or less engine power, and pneumatic cylinder was used to close the throttle by the engineer in braking actions during station arrival.
So, the technology was easy electic, but it was designed also to attach maybe a second locomotive... And: Rotary snow plows of the Henschel type had to option to include this technology, so the pushing engine behind the plow did not need an engineer for driving, so, only two fireman and one driver was need to operate the plow....
and that's pre-1960 technology, but it was quickly abandoned, with the appearing diesel rail buses...
Allways keep two-thrid level in gauge and a well set fire, that's how the engineer likes a fireman