No, coz a script cannot recognize all the Morphs you have installed, not even through the .dsx files (an xml ...).
You can have installed X morphs of Renderosity, renderotica, etc ..., and it is almost impossible to automate that, since there is no metadatas.
Therein lies the main problem .... Random is about how many elements? Head? Penis or vagina sex? In that case, is it golden palace or G8F's vagina? ... And so on, to the endless...