I live in a fairly large city with decent transit options (for the US), and (notably) a high-speed commuter rail system going into the city. I'm considering moving out of the city in a year or so, and if I do I want to be convenient to a station on that rail system.
Using a friend's address in the suburbs as a proxy (who lives near where I might be moving), Google Maps puts the travel time from there to my office at 32 minutes via commuter rail. That's with an 8 minute walk and 11 minute walk on either side, but if you assume a bike ride rather than a walk I'd imagine you can cut each of those down by at least half. The rail line has headways of a little under 15 minutes at rush hour, so that could possibly extend the trip a little bit if your timing's not perfect, but still well under an hour.
Of course if you need multiple transfers to get to your destination (and your local transit system doesn't have very short headways) that will increase your travel time substantially. The commuter line I'm thinking of takes you right into the heart of the city where many jobs are though (including my own) so that's not always a concern.
I actually did this for a time, fortunately not every day but frequently enough. Wouldn't really have been sustainable long term.
This video is a good overview: https://youtu.be/MWsGBRdK2N0
Of course, if you want to live super far away from the city and drive in, that's fine, I just wish that wasn't basically the only option besides living right in the city. Places like this still exist, and I think there's a lot of demand for them, but because they're not expanding (again, legislated away) the cost of living there will just keep going up because supply will never increase.
Unfortunately that probably means that if you have a city job, for now you'll be stuck with either long commutes, living right in the city, or expensive housing in the remaining walkable suburbs.
Or you can move somewhere that has already figured this out. :) But I understand that's out of reach for many people; it's out of reach for me.
Now, sure, if your partner works XX miles in the opposite direction from you, and/or you have some other unique community attachment, and you can't change jobs, you're always going to have a long commute, and that's a life choice you're going to have to make. But there's no reason that should be the norm.
But when those problems are solved (not likely to happen in my lifetime) I'd be willing to reconsider raising a family in the city near me.