Hi. I am not too familiar Revit Area Plans, but the space grouping isn’t directly related to it, but works through geometry and classifications.
In its most simple form, space grouping starts by finding spaces that are classified with a classification called “spaceGrouping”. This classification has special handling in the classification view in that it changes display name to “Space Grouping” when defined.
After the spaces to be grouped are defined by the classification, the grouping itself is done based on the geometry of the spaces. A “Groups” relation is created for the spaces:
a97db158-ba1b-4d9a-ad76-a6b9603c8b80-image.png
and the direction of the relation tells if the space contains or is contained by the other space.
So the short answer is: it is possible to group spaces for any model as long as spaceGrouping classification is provided.