That’s been one of the strategies to help me cope with my ADD: turning my most visited services into standalone apps, and forbid to open links outside the domain in those apps.
I use Fluid in Mac, although IIRC there was a non trivial way to create them using Firefox.