Unless you're in a group of four, you will essentially be forced to dine with strangers if you're on a sleeper train.
And it's been so *so* good for me(and my bad social skills) to connect with people different from me. If you want to get better at seeing the universal humanity you share with people, I'd highly recommend.