Not so much migrate as be able to use it from anywhere and have it replicated. Same with communities.
Give things a unique ID, and access it from anywhere, even if the original server goes away.
This kind of thing may not be possible with current ActivityPub protocols, but there's always room for improvement.