Yes — if you build one first.
That is the whole appeal of Garry's Mod: nothing is handed to you, but with the right props, a few thrusters and some wiring, a working train is entirely within reach.