I’ve done overnight trains in South America and South East Asia. I think it’s actually a pretty fun way to travel (if you bring your own food and alcohol).
I would certainly do some of these new European routes. Check out the article below to see how sleeper train service is being improved in Europe.