This has been mentioned before, and Pacific was experimenting on that kind of coding. Yes, it is possible, but there's a catch - the static train only moves in a straight direction, so this kind of coding is not practical for anything but straight and level routes. NYCT routes, as well as any realistic route, have varying degrees of elevation, so it would be pointless to implement unless the entire route did not have dips and hills. Also, the static train will not turn on curves.