Allow for components to contain instances of themselves

Hello Figma!

I’m trying to design a component for an API reference documentation (see image below).
This component needs to contain instances of itself, but that’s not allowed by Figma.

Could you add this option and perhaps have a number to set the max possible repetitions (to avoid the “infinite” issue)?