I thought about this a long time ago - how hard would it be to add an in-game script editor that can call code snippets when activated by an event or something? Naturally, it wouldn't create or modify datablocks, but it would be extremely useful for flexible event inputs and outputs while saving datablocks, and at the same time it would be useful for developers to play with their add-ons fluidly before packaging them. Theoretically, this shouldn't really be that difficult, should it? It could just write to a temporary .cs in config or something and exec(); that whenever the code is called, and of/c it would be admin-only.
Sorry this came out like a suggestion, I posted this just out of curiosity.