Didn’t the guy who founded the web basically make something like that?
The promise is that one can not only transfer the identity and all personal data across instances of a single service, but also across different services (imagine from mastodon to Lemmy).
Sadly, it never caught on.