Not via GDL other than zones. GDL objects have no awareness of any other model elements (including other objects) other than the zone(s) in which they exist.
Add-ons (plug-ins) created with the ArchiCAD API (programmed in C/C++) can associate objects with another element. That is what is done, for example, by the Accessories 'goodie' which associates wall or roof claddings with walls or roofs: the cladding is adjusted as the associated wall or roof is adjusted, and accomodates any doors, windows or skylights.
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB