You cannot change the application icon at the runtime. For native android side, you can change the icon with two Activities, but you have to restart your application then icon will be changed.
For MAUI side. Window do not have properties or methods to change it.