Restrict Non Residents’ UK Property Purchases?

I read an article yesterday where an MP suggested restricting the number of properties that are available for non UK residents to purchase. The idea being that if wealthy foreigners didn’t buy the properties then they would be available for UK residents and hence the housing shortage would be lessened.