Making Web Server connect to UE4 for In-Game Output

Hey all,

Just curious if anyone has tried running a web server (local host) where its buttons clicked on the web page, links interactively to the Unreal Engine to output geometry or an event?

E.g. if I click a button that says “box” on the web page on the local host server, it would instantaneously create a box geometry in the Unreal Engine, in game mode.

Any advice on close to similar ideas would be beneficial as well.

Thank you!