Kind of sounds like shape grammars [1] which can compose grammatical rules into designs and vice versa.
I think it would be interesting to use a shape grammar engine with Reinforcement learning, where the design is a state, action is a shape rule, and reward is some performance metric. The advantage over GANS (which seems to be the most common use of ML in architecture/design circles) is the integration of cumulative reward maximization better captures the way designs are incrementally built up.