no - the notebox is static for a lot of reasons, and trying to change those contents ingame will cause a lot more problems and confusion.
The only way to achieve what you want is to modify Mog's plugin so that it will look for a different structure.
Currently it is looking for filenames that are constructed from "Basename"+"Pattern", with the basename read from the notetag and the pattern set by whatever part of the plugin needs the picture.
I would suggest a modification that changes this to "Basename"+"Variablenumber"+"Pattern", with the variable number read from a game variable you set for each actor.
Then changing the game variable by skill would change the final picture name from (for example) Leon00[Action2] to Leon02[Action2].
There are a few other ways, but such a modification should be the easiest to make - but "easiest" here does not mean that it is simple, you'll have to find and change every use of that filename in the entire plugin.
Edit:
@firststef Your edit with a screenshot of the code came while I was writing, I didn't see it before.
That screenshot is the wrong place to go to - you need to find the place where the filename is constructed and change it there.
Which means it needs to be changed at every place where one of those functions is called.