In the same way that an alcoholic can just stop drinking and then they're no longer an alcoholic, right? That's not how addiction works.
I've used my phone's parental features to limit usage of social apps to one hour. It's protected by a somewhat randomly chosen PIN that I don't memorize but store in my password manager. If I want to override the time limit, I have to go and look up the PIN. Most of the time... too hard, move on to something more productive.