You can, with the caveat that the image must be in a User Library, rather than the Marketplace. If you're assigning them with the DefaultToken script, then that should already be the case. Here: on('ready',function(){
'use strict';
var getCleanImgsrc = function (imgsrc) {
var parts = imgsrc.match(/(.*\/images\/.*)(thumb|med|original|max)(.*)$/);
if(parts) {
return parts[1]+'thumb'+parts[3];
}
return;
};
_.chain(findObjs({type:'character'}))
.filter( c=>''===c.get('avatar'))
.each( c=>{
c.get('defaulttoken',(dt)=>{
let deftoken=JSON.parse(dt);
if(deftoken && _.has(deftoken,'imgsrc')){
let imgsrc=getCleanImgsrc(deftoken.imgsrc);
if(imgsrc){
c.set('avatar',imgsrc);
sendChat('',`/w gm <div><img src="${imgsrc}" style="max-width: 3em;max-height: 3em;border:1px solid #333; background-color: #999; border-radius: .2em;"><code>Updated ${c.get('name')}</code></div>`);
}
}
});
});
});
That will do it at startup and whisper to the GM each character that gets updated.