Didn't work out well for the river camp in Santa Ana, CA 8 years ago (or so) that had to be bulldozed.
https://www.youtube.com/watch?v=Bhy3zI3wvAo
The vast majority (that accepted accommodation) destroyed the spaces and eventually fled back to the streets. It is generally not productive to simply rehome all the homeless en mass. There are first order drug abuse and mental illness issues that cannot be ignored.