Once you include the screened-out sample of mental illness, it would be better for the whole society to have government provide this basic shelter for the homeless along with reduce basic income than to give outright basic income.
Otherwise, our housing market will take on the extra (hit) economic dynamism for the rest of us (ranging from worker class to middle-class).