It is possible, but it's not strictly "random". In one way or another, the event has to be triggered, and it also has to be scripted. Certain elements of it can be random, but the basic rule of each event must be predetermined. However, you can randomise some elements. Such as the level of enemies, and the quantity. As well as their inventory.