Train drivers have reported dozens of encounters with people who have broken into cabins at the rear of trains this year.