I have , nearly 20 years ago now . Trains were reasonably comfortable , but keep an eye on your belongings , which goes for anywhere in Peru .
The ride from Lima up into the mountains is spectacular , (to huncayo?) , and of course cusco to macchu pichu train is too .