If you're thinking about code changes to enforce these groupings the question to definitively answer is always "Does this change produce benefits to the whole network that outweigh the additional code complexity and the security risks it entails?"
In general, I strongly believe that changing the protocol in response to high fee events is a non-starter. We already have a mechanism to solve congestion: the free market. People who get upset about blockchain spam need to lower their time preference.