It comes standard on iOS. "Screen time" under settings.
It’s not cheap (like $99 annually) but I’ve gained a ton of time back with Opal. I think this is a referral link, but I’ve already paid for it. Founders are young, out of Paris.
https://link.opal.so/D3ttGLGSF9xGFNVj7
That’s double what I pay for ProtonMail…
Love this app. Funny enough I found via a Twitter ad, the only Twitter ad that's successfully converted me - https://one-sec.app/