Except that governments are free to create arbitrary laws. So there certainly are a number of schemes the government can use to balance these two things, though most people would claim they are "socialist" because many revolve around subsidizing first time homeowners.
Subsidizing homeowners does not hold prices down. It may actually help prices to increase, as everyone knows that they will be able to sell homes at higher prices because the government will continue to help people pay for them.