> How can you be your own registrar?
As usual, the answer is "it depends".
It depends on the registry.
Some, e.g. UK TLD operated by Nominet are easy as pie, just pay the quite reasonable membership fee.
Others make you jump through hundreds of hoops.
For most people though, just pick a reliable company like INWX to register your domains – previously I would recommend OpenSRS as an alternative option but they've recently hiked their card processing fees to 4% or something horrific, meanwhile INWX do not charge any card processing fees. Also OpenSRS support for DNSSEC is, to put it politely, "patchy".