How do I replicate this effect using Geometry Nodes?

Have you seen this?Procedural Abandoned House with Geometry Nodes

The breakdown video shows how the internal walls divide up the structure, perhaps you could use a similar process to make bulkheads and decks internally dividing the ship