Yes, a Honey Badger could theoretically be kept as a pet, but experts strongly discourage this animal as a pet. Honey Badgers are extremely dangerous, very predatory, and notoriously vicious in their attacks. This alone would make it very risky to keep one in or near your home, and the potential lethal consequences are amplified if you have children or other more traditional pets like cats or dogs.
Honey Badgers do not like to be held, and they are merciless with their attacks. Given this, at best they’d really only be a viable pet if kept constantly at a safe distance from any humans or other more tranquil pets. Beyond that, they are a deadly carnivorous predator that is known to engage in surplus killing, where they kill excessive numbers of prey even if they are not needed for food. So, you would need to ensure they are very well fed and don’t think of you or your loved ones as prey.
Finally, Honey Badgers have a history or killing humans, and therefore you should strongly consider if you are willing to die before you decide to keep a Honey Badger as a pet. There is a very real chance that your Honey Badger will kill you on any given day. One man kept a Honey Badger as a pet, and he readily admitted the Honey Badger did not appreciate the way he was treated. Heed his warning, and carefully consider if you can handle the savage Honey Badger.