Not really no. Housing isn't something to think of as an investment really, unless you are flipping them for a living.Prices go up - great your house is worth more, but if you sell all the other houses are up too and you aren't going to come out ahead buying something else. At least not much, other than if you can haggle a little bit on your purchase and stand firm on a sale price, but the net gain is minimal at best
Prices go down - your house is now worth less. other properties are cheaper, but you won't make as much on a sale, so pretty much the same scenario
The only way to invest in this would be to sell when prices are high, then live in limbo renting or mooching off family/friends that will let you stay with them until at some point prices drop where you could buy a nicer place at a lower price.