For these kind of problems, tech is not really a solution. So better talk to a registered psychologist or psychiatrist.
But on the tech side, for android users, 'Open TimeLimit' is a useful app. It's like an advanced app locker, with timers and stuff. It's FOSS and on Fdroid:
Edit: Make sure to disable the app when you go out etc. Because it might cause obstacles during emergencies. Depends on the way you set it up of course.
Sen Wyden has been solid. I'd totally believe the pro EARN IT rhetoric is completely divorced from reality. In my experience, this much push behind nonsensical policies is solely about pork and enriching cronies, using some manufactured outrage to moot deliberation and reasoned criticism.
https://github.com/kristiandupont/schemalint