I commuted 2.5 hours or 3 hours each way for about seven years, If I could drive, the commute would be just over an hour each way. I had two teenage sons with additional needs.
I had a part time online job that I did on the way to and from work (if I could get a seat on the bus/train). This meant I worked up to 14 hours each day, and then had the boys to look after.
My husband looked after our sons on his own for six hours each day (when they attended school) and for 14 hours a day when they began to refuse school.
If I was single, I could have done it, although I would be more likely to move closer to work. With all the additional commitments, it was impossible, and I remember the seven years as being a period of permanent stress and fatigue.
As others have said, public transport can be very unreliable. I had to catch a bus, then a train, then a connection, then (if I was going to the other site) another bus. Despite travelling for three hours, I was often a little late if I worked on the other site, so I would work through my lunch to catch up. The national trains were fine, but the local trains were horrendous and crowded. The copper wire for the railway lines was frequently stolen, and this meant another half hour or more added to my journey..
When I got home, my sons would become over-excited and I would spend ages trying to calm them down enough to settle down for the evening. My husband would clear off, exhausted.
Sorry about the rant, but I work from home now and it is bliss compared to those years and that monstrous commute.