Well, yes, if by "not making commuting miserable" you mean "build a lot of transit, convert roads and motorways to streets, and somehow cure people of their car addiction". But yes, you also have to cure people and planners of their single-family house addiction.
I didn't say that, and it's obviously not what a normal person would take to mean from that sequence of words.
The spending needs to be on building more housing, better housing, more affordable housing, housing closer to work. Single family or multi family? Whatever the people need, neither will exclusively work if people want both.
If you don't do that, it doesn't matter how miserable you make the commute, people will still do it because the alternative for them is not going to their job and becoming destitute.