You will need to go to field if you want to hop the train like ali said. The yard in banff is a tourist attraction. Trains do not stop there. Was there two days no trains stopped, even if they did there are tone of cameras. It would not be a good spot.
I hitchhiked from red deer to field no problem. In canmore just go sit on the side of the trans canada highway and find a good spot for cars to pull over, there are plently of stretches of flat ground, should get a ride in no time. Banff/camore has lots of hitchhikers ive heard because they are tourist towns. Highways south are open again, although lots of people dont realize this. We had one guy stop for us and say hes going to Vancouver but the highways closed so hes not going south onky for him to stop further up the highway and wait for us after googling and realizing they were. Lots of strange looks and angry gestures at kelowna sign as well. That was yesterday so mirght not be a priblen abyway3
hitchhiked from Kamloops to summerland and am currently working on a farm here. Not surr they will be open for long though. Field is a bit of a strange spot to catch out of but pretty easy once you get the patterns down, although i recommend you get a mentor for your first train ride. If you want to talk more dm me on discordPs. I am drunk so sorry if none of this makes sense)