Not prevent it. But around half the purchases in housing being for investment seems a bit distorted. As far as regulation I would start by encouraging lending to productive parts of the economy (business, innovation, startup, infrastructure, etc.) and limit lending for rent-seeking activities like market speculation.