My partner commuted for three years, it wasn’t idea but it was so much better than moving there for him.
His days were long but her just used to read on the train which was only 45 mins (sounds a lot but compared to even getting into town this end not too bad) and he just used to read/have breakfast.
Not saying it’s for everyone but it defo can work!