Making subdomain in surface mesh

This seems like a pure meshing question, that I believe could be handled with for instance gmsh using their embed function.
See for instance; Fail to read tagged facets from mesh generated with GMSH - #2 by dokken