Back during the real estate bubble of the 2000s, I heard of some parents who would buy real estate (houses, condos) for their kids to stay in while going to school. Their plan was to ride the appreciation up for the 4 years, then sell afterwards.
I often wondered how many got caught in the downdraft.
That still goes on and the savvy ones are still doing it when it makes financial sense.