That kind of visibility could be really helpful. Doesn't have to be shameful, but it does have to get you off your ass!
I'm not sure if that would be possible on iOS. But they do already report app usage and allow you to set timers on your own usage to make sure you aren't spending more than your allowance. "Screen Time": https://support.apple.com/en-us/HT208982