"I once saw one profile with bio like username@domain1 and @domain2 to refer to her email address but my instance decided that it was referring to the fedi account of same name as the domain. So, it's not foolproof"
The username isn't in the bio, it's at the very top of the profile (and usually underneath the username on all posts). The user cannot edit this after the account has been created.