Yes it might be possible with a few provisos...

if you make struct with file names and randomly switch between them it should be possible but that means you must fill the target folder first and just swap out files. It won't detect whats there.

If that won't work you are probably into writing a plug in in xcode to read folder contents and fill an array...

I'm really busy just now but if I have a few moments I'll have a play and see what I can create... but don't hold your breath!