I know it’s just more anecdata, but that just does not match my experience at all. I’ve known over a dozen people who have struggled with this over the years, become homeless, had drug overdoses, and several who’ve died.
Every single one of them had a home when they started using the hard drugs, and many had a home through most of their addiction, and only became homeless after the addiction had progressed to severe levels.
If most people have personal experience like mine, then maybe there are issues with the research (people blaming their personal failings on things outside of their control, for example)