C# Cluster component

Hi everyone,

Is it possible to create a cluster component in C# that contains your other components?
Let’s say I have 5 components:
Components 1 to 4 are normal components and component 5 is a cluster that contains components 1 to 4.

Is this possible to create?
If yes, where should I look for clues and examples?

Thank you.

Create a component with custom attributes and interaction, include one button per component, and when you click on the button X, you delete this component and add the component X you want in the same position.