It is possible to randomize textures on a static mesh taking random image from an external folder?

To make it random you could get all filenames with a given extension from a folder and put these into an array. From which you then randomly pick one.

The Rama plugin also contains a function that can do that for you:
JoyFileIO_GetFiles

An example: