it's a good idea on paper but... in an isekai, there's always monsters outside town so it seems really dangerous to try it if you can't put a permanent defense on both the tracks and the trains =$
I mean, imagine a monster destroying your tracks. What then ? 😅