> ROI should absolutely be a part of calculation, else it would be easy to spend (even) more money on a home that's not desirable or enjoyable.
ROI is being used in it's economics section, literally as return on investment.
> I don't think that homelessness has much to do with construction costs
No, but it does have to do with ROI, which you hand waved away above by redefining ROI to be non-financial rewards such as enjoyment.
Housing as an investment has put housing out of reach of a increasing percentage of homeowners and raised rental rates.
The least expensive rentals in my city are out of reach for those making minimum wage in my city.