Apple already has that. You have Screen Time to set limits for app usage and look at statistics on how much time you spend in certain apps, how often you open them, how many notifications, you get, etc. And in Cellular settings you get a Data usage breakdown, how much data you used in which app over a certain period