You can do that, or use an NIP-05 service (free or paid) to have one without getting into the technical nitty gritty.
https://nostr.how/en/guides/get-verified
I think I done it. Not entirely certain.
Please Login to reply.
See the Alby one now!