You’ll need to use a Composite Device Handler design to achieve this. One Parent Device Handler and Child Device Handler(s). The Parent will create the child devices so they are exposed as individual devices to all other SmartApps.
Here’s an example of a DTH that demonstrates the design.
If you additional examples, you can look at my ST_Anything DTHs.