I run HA at home, and my home is an apartment. I was able to buy some zigbee switches [1] that just 'snap' over the top of traditional light switches, after adding some castellated plastic washers under the screws that hold the switch cover in place
This means that instead of a light switch, there is a button. And when I relocate, I can just remove these devices from the switches and take them with me
[1] https://www.amazon.com/gp/product/B08TVZK8D6