Yes- via the Wombat package.
Look into the GroupCurves node in Archi-Lab, which will group all connected curves into sublists. Then use a PolyCurve.ByJoinedCurves node to make a polycurve of each group - the resulting list of polycurves can likely go directly into the Wombat node.