Yes, it's called MAD. It doesn't work for very large groups with many unstable individuals but seems to have worked so far for the small group of nations.