Blueprintesque GUI in game?

I have been planing for a long time to do a integrated visual scripting system in a game.
The scriptable Node system in unreal is exactly what I have in mind, simple boxes with intput output and different logic that goes trough them.

I was wondering if anyone has gone about the idea of exposing the basic gui/logic to the game, to allow a player to do the same kind of connectsion, and even if this is allowed, or if it might break some kind of license agreement with the engine.

The basic idea, is that the player actually produce logical components in game and hook them up in machines to make them do “stuff”. Where “stuff” depends on the input/output of the machine. Could be electricity, heat, angular momentum, forces, shoot a projectile. But thats just non important fluff.

Anyone have any experience with something similar, or have a feeling for what to expose and where?