Procedurel Modifying Script?!

Is it possible to turn certain scripts into procedural modifiers?

for example, a randomizer which changes poisition rotation scale, wouldnt it be great to have this as a modifier?
is this possible???