Would you drain your retirement to buy a house? Maybe.