Component with variable inputs and outputs

It is possible (as per Andy’s answer), but is it really a good idea? If you start to replace parameters you also have to deal with connections that are no longer valid. You potentially erase a lot of user effort when you switch to a different component flavour. Not to mention this way of doing things will be foreign to existing GH users. May I ask what benefits you’re getting out of this approach over the more traditional way of just creating more than one component?