You can log out anytime you want.
If the problem is addiction, you'd just resort to a different social media to get your fix anyway.
In that case, you need to decide for yourself to seek help if it is truly that big of an issue. Treat the disease, not the symptoms.