Doxing is legal so its not hacking I suppose.
Swatting or selling personal information on the other hand is fucked up and very illegal, but if you dox someone I'm assuming you have bad intentions.
It depends who it is though, some people really deserve it, like scammers and extorters...