In my area this would be fairly easy to solve. There are enough buildings to host them, the climate is not too cold (so heating is generally not necessary) and the people are rich enough to afford some extra food for them. The only problem would be organising everyone who wants to help. And rehabilitating the homeless eventually, rather than just dumping them in a ghetto. But it’s doable.