Yes, pxCode supports nested components.
That means you can create components in components.