So the answer is yes – it is possible to survive lying under the oncoming train, but it is very unlikely that you could survive that without a major injury. It is a good idea to stay away from railroad tracks. Just by hanging around such places you are putting yourself in danger.