There totally are night trains, I just never knew of them. Only heard this talk on HN that they are a thing of the past in Europe, and I never looked further than that. Turns out there are night trains all over Europe, from the mediterranean sea to the arctic circle!
Taking a train through Russia is also a thing I've been thinking of doing, but then there's this wannabe-warlord situation messing up a lot of lives right now :/
Depending on when you looked, there may not have been meaningful night train options.
So much better than trekking out to the airport and dealing with the security and general hassle of planes. Plus you arrive at the destination at the right time. On a plane, you either arrive to late to do much except trek to the hotel, or you have to get up at 4am to get your plane (and still arrive around lunchtime).
However, it's generally between 2 and 5 times more expensive then a flight, so it doesn't always work out. You can do a coach too, but that is pretty uncomfortable.
These might be a Czech and Slovak specialty, though. Maybe western wagons do not shake as much, western curtains do really block the sharp industrial light and western stations do not pronounce such long messages at every opportunity. IDK.
https://www.cntraveler.com/story/europe-is-undergoing-a-slee...
Japan's night trains are, sadly, almost gone, but that's because the bullet train network now covers all the major islands. There are quite a few luxury tourist sleepers though if you're willing to fork out $1000/night or so.
The biggest downside of sleeper trains IMO is that they are only really suitable for certain distances. It's not very nice to arrive somewhere at 02:00, so you really need a destination that is at least 8-10 hours away from your origin.