App icon change without user initiate is that allowed?

Hey! i would like to use the  setAlternateIconName method of UIApplication to implement a feature of updating app icon based on logged in user state. For instance show iconA automatically for logged in user if they are free user, and show iconB automatically for logged in user if they are on some plans. I know it gonna to show a system alert after the icon changed. But calling this API is that allow to do without user initiated?
Will apple rejected for such featuere?
I do not know of any authorisation key for this in info.plist.
And no Privacy key.

For me, that means it is not required to ask user.

One advice: when you submit the app, explain you change the icon in the comments to reviewer. That will avoid any further problem.
App icon change without user initiate is that allowed?
 
 
Q