No. For a destination where I am going this summer a train trip is 12h with a stopover and if I want a sleeper cabin, the whole trip is 300€. Plane takes 1.5h and costs 50€.
Also as I'm in the middle of one of those routes, if I were to return home by train, I'd need to get off at 3am.
Here's my solution: tax the living hell out of aviation please, use this money to subsidize trains. There will be more supply and more demand on the rails. We will suddenly have frequent and convenient connections. And we all will be co2-neutral.