Yeah I don't think any tool can fully solve this – it's ultimately a willpower thing.
the tool's job is to add friction, not to be unbreakable. Even if you bypass it sometimes, if it stops you from staying up late a few more times per month, that's a win