Import Records with the folder option can be scripted.
I think it can refer to a variable that is set to contain the desired file path. (Import records with the file option works this way, so I assume that it will work with the folder option the same way.)
I guess what I meant was, can a container be populated automatically based on a Photo Path within a field (without doing the import/folder)?
If you wanted to do this by Reference, then yes, I know of two methods that work for referenced files in containers. But you want to embed a copy of the actual file...
Ok, that can work too via a script.
You can use set variable to put the file path into a variable and then use Insert Picture (or insert file) to insert a copy of the file--with the variable specified as the source file.