Convert layers into one layer with Merge Layers, a new plugin for Adobe XD.
Merge multiple layers into one layer
Combine Ellipses, Polygons, Lines,
Paths, Images, Masks, Groups
Artboard can be merged into a layer
High quality support
Requires Adobe XD
Check it out in the plugin manager and here.