No, for many many reasons, but the one I’m settling on is transaction costs. Buying and selling a home costs money. So does all aspects of relocating. The basic advice is 5 years is the bare minimum to even consider buying vs renting but it’s strongly recommended to view buying a home as a long term commitment