Stalin did and it nearly cost him WWII when Hitler invaded and he had no senior leadership left in the military.
Stalin executed about one-third of his military command structure in response to a fake conspiracy that he was tricked by the Nazis into believing.
In a way it was a very early case of "hacking" into a wireless communication system.
The Nazis used fake coded radio messages to trick Stalin's military counter-intelligence apparatchiks into reporting that there was widespread collusions between his generals in the field and the Germans. This was in the weeks just before Hitler launched Barbarossa.