Automate nested component creation

this is a strange one, components can be nested for quite some time now, however, once created one can no longer create new components inside the component but, you can move out the same turn it into a component, copy and paste the instance in inside the component.

So why not automate the whole process? just like Adobe XD.

Sorry, I’m missing something? is there a solution that already exists?