This might be technically challenging to accomplish. For example, how do you know a community is actually gone? There are certainly some ways to know positively if we are told, but we might not know about all cases. Community hosting is federated across many servers not all of which are connected at all times. I’ve seen entire instances vanish without explanation.
Visibility is another problem. Sometimes, there are multiple copies of the community hosted in different places because those instances might not be directly federated.
I’m not saying it can’t be done, but I’m not sure how often we know for sure when a community is lost, in the same way we are unsure if a friend has died if we lose contact unless there’s some other means to check on them.