Where I live you can have a "Virtual Address" with the national postal service, which is essentially what you're talking about. You can direct it to various houses or you can direct it to 24/7 access postal locker at any place you like.
You can change your virtual address itself or keep the same one for however long you like, and just change the final destination that it resolves to. The postal service knows where your current postal destination is set and third party freight carriers able to look it up from an API (someone has to deliver it eventually after all). Your destination can be changed in your online account, and if you want a particular package delivered somewhere different you can quickly create a new virtual address and use that instead.