Housing for renters and buyers is too expensive, making “house hacking” approaches like renting out half of a duplex more attractive.