In fact, you should be encouraging shorter leases.
I got rid of my house in 2012 after getting married so my (step)sons could stay in their much better school district. I was hesitant to buy a house in 2016 because I had no idea what direction my career might take when my youngest graduated in 2020.
I might have even gone the r/cscareerquestions route and “learn leetCode and work for a FAANG” and move to the west coast. But my rent was increasing like crazy and I wanted to lock in my housing costs by buying.
Thank God I found a remote opening at $BigTech. If not, I would be selling my house in the next couple of years and trying to move - under normal non pandemic circumstances.
As far as I know, the entire cloud consulting division of the three major cloud companies always had plenty of by default remote jobs. I know that AWS does (that’s where I work).