Yes, for airlines since they are space limited. But the additional space on a train would presumably be cheaper, so the relative costs of luxuries would be more.
The point is just that you want "office class" on a train to be its own product. If I take a high speed train I am still probably just going to go and do some more work from a hotel, office or home.
So just make the slower train nice enough instead and save on the expensive track upgrades. Just don't try to sell me, or include, a 3€ water or a 25€ meal because then the extra time becomes a liability and you ruin the concept.