Can we change the UI (User Interface) of Messenger plugin?
No, you cannot change the UI or the icon for the Messenger plugin.
Please refer to the Facebook Documentation on the customization you could make for the Messenger plugin (i.e. change the color theme).