Such things definitely exist in the form of mutually assured destruction cartels. All the members license all their patents to everyone in the cartel. If anyone (external or not) sues anyone in the pact, it automatically cancels any patent licenses they have from members of the cartel, and the cartel launches a patent enforcement suit using their combined portfolio.
Of course, none of that helps with patent trolls, just like the ability to turn Russia to radioactive glass doesn't defend Washington DC from an independent actor with a suitcase nuke.
Of course, none of that helps with patent trolls, just like the ability to turn Russia to radioactive glass doesn't defend Washington DC from an independent actor with a suitcase nuke.