With the average U.S. mortgage rate above 5% and home prices at record highs, homeownership feels increasingly out of reach, particularly for young, first-time buyers. To make it work, some are renting out rooms or basements and using the extra income to help offset their costs.