Is there a way to do it?

using gvfs-set-attribute, I am able to add/change the metadata::custom-icon but not standard::icon