It's quite possible. There is very little friction between steel wheels and steel rails and this makes it far more easier to push/pull things on rails than on road. For a long time shunting operations used to be done manually by pushing wagons and coaches.