yes, for fun. a train ran through the middle of my college town 5-10 times/day. one night (around 2 am... I was on my way home from the bar) it just stopped in the middle of the town. I was with my roommate, who suggested the idea. we were wondering where the train ran to, and in our drunken state, it seemed like the best way to find out 😉 we didn't break into the boxcar, but my roommate and I stood on a ledge between cars (it had a handrail to keep us from falling off).
it wasn't a very exciting trip, though. turned out that the train ran to a mill on the outskirts of town. it was a pretty sad walk back to the dorms.