Adding Blocks within Blocks

If you’re talking about nested Gutenberg blocks, you only need to add the InnerBlocks component.

I think this is what you’re looking for :

https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/nested-blocks-inner-blocks/

Here you have all the code you need and most of the use cases.

Hope it helps !