Can you die by getting hit by a freight train going 25 MPH? It's for a story and I want it to be realistic.

Yes. Remember, even a car rolling very slowly can crush you to death. However, the story would have to be done well to make a believable and interesting scenario.