Paste this into a code block. It patches all the perimeter curves to surfaces, thickens them, then joins them into a single solid. You can then check the volume of the solid against the surface areas to find the one that matches, aka the “boundary” curve.
From my experience. Yes. This is actually how the old CASE addin Rooms to Mass works as well. In the file located here, lines 288-306 demonstrate this logic. (Thought I would share the link in case you were interested.)