I try to do it, but then I end up using websites, log out, then log in after some time and get hooked on again... I used to have a blocker app acting as a pseudo VPN on iOS but I just turned it off constantly.
It makes making a purchase a hassle just like it makes checking up on social media a hassle. I intentionally put barriers up to manipulate my own behavior I know well enough. Yes it's annoying, but I've made a habit of it for so long it's a nuisance that is the "Right" way to do it.