Here is a low tech actual use of the theoretical question in India. When travel time needs to be saved in an elite train, a secnd locomotive is being used to push the train removing the power cars.
https://in.news.yahoo.com/cut-travel-time-rajdhanis-shatabdis-010200712.html
The second engine...