You can have as many servers as you want and easily switch between them.
For your use case most of the people use the concept of DNS views. You configure a DNS server at home accessible locally and via tailscale and the server returns different IP depending on where you are. So you only have 1 server but 2 IPs depending on at home or not.
Local DNS server is also great to filter ads