Depends on what you call 'profit'.
If the apparent profit is the result of time and money spent renovating a property then it would be unfair on the homeowner. It would also act as a disincentive for people to improve properties.
We spent several years replumbing, rewiring, replastering and replacing woodwork in a house. This made it more livable for us, and the improved value was a recompense for the uncharged hours that we put into it.
There is a dysfunction in the UK housing market where there is far too much emphasis on domestic property as investment. Property in many rural locations, especially those that attract tourists, is unaffordable for local folk. Some areas (Wales?) are trying to tackle this by increased council tax rates on second homes and properties for letting.