Yes.
As you know, something like LOAD EP=XYZ can only load module XYZ.
However, you can specify the name of an 8 byte character variable.
LOAD EPLOC=VARIABLE
...
VARIABLE DC CL8'XYZ'
Your code can change the contents of VARIABLE to any load module name the program requires.