Solution, 1) abundance of cheap housing. 2) effective mental health treatment with mandatory attendance when necessary.
Of course this utopia would attract folks from other areas, so can’t be solved only locally. Needs national support.