Like in the mod from MODMASH are you thinking of recreating this functionality?
I like the Idea of a standalone mod that does what you are doing but alse SE Compatible
Could look at how SE does it with it's space elevator although unless linked rails become a thing in 2.0 you're still gonna need to have train schedules for each end.