Can I find a way to change the application icon whenever we want?

I have an idea to change the application icon dynamically, but since my experience is not enough, I am waiting for your comments and support, my idea is as follows: Let’s assume that I have selected the icon.png file from the assets as the application icon, let’s give a command when the application opens and let’s say …com/icon.png Download the file to assets and overwrite the existing one. In this way, can we edit the image in the URL and change the application icon whenever we want? I’m waiting for your ideas and comments. I apologize for the bad English and translation errors.

see this thread

Taifun