Is it possible in any way to create one's own node type in one of the node editors (let's just say the Compositor for example) that can have a dynamic number of inputs? Not a group node, just a regular node?
For my use case, I would like to be able to do one of two things:
Have multiple inputs come into a single socket of a given type (I know this is not possible and probably never will be).
Dynamically add another input socket of a particular type if an input is attached to a socket of that type. The output file node has that functionality implemented in C here, but similar functionality for adding sockets dynamically to a node does not seem to be present for any other node type or accessible via the python API.
Is what I am requesting simply not possible in Blender at present?