It's not healthy, and I feel bad about it.
They have got me exactly where they want me.
And like you, it's very clear that this is not conducive to human flourishing. Unfortunately, I've been caught in this, and similar loops for so long that I have a hard time knowing what flourishing even looks like anymore.
EDIT: One thing that did help me, for a time, was finding a REALLY good book, one that completely sucked me in—in this case it was David Mitchell's latest, 'Utopia Avenue'. It's been a long time since I found a really fantastic book, when you do, there's nothing better.
And I realized that the next morning, when you wake up after a long evening of reading a good book, you remember it. You remember it as being a great use of time, something you can be proud of.
An evening spent scrolling through social media is never memorable. It's never something you're proud of, something you want to tell people about.
A good night with a good book is a good use of time.
I need to remember this more often, myself.