Unless you're really diligent about patching and securing your own infrastructure, I don't know that self hosting this would be better or safer. My defense layer to protect against this sort of breach was to use Yubikey(s) for my more sensitive accounts.
The real defence, has and always been, end to end encryption with a high entropy key.
So many people misinformed about the actual risk of having your encrypted vault data leaked.