Absolutely. USSR, at that stage in the cold war was living everyday with an existential crisis. It would not be uncommon for them to be so paranoid. And, it's a smart move. The amount of scientific and technological know-how generated from such a project would be tremendous. And the USSR military leaders would have surely known that.
Also, having honed in onto a very serious threat, spreading the information of that threat among it's scientists and pushing them towards a goal is an incredible motivation building tool. You can't make a scientist work effectively under threat of punishment. But tell him that his work will save his motherland, and you are on.