As far as im aware, you’d have to go through the whole trainee driver process without any prior mainline driving experience. I’d imagine shunting and depot work however would set you up with a great application with you already demonstrating some of the basic competencies of train driving (following rules and procedures, NTS etc). I hope this helps.