if you count lies of omission, yes. you can be required as part of an ongoing investigation or court case to not talk about it. The legal term is "gag order".
If you are ordered not to communicate something, you are ordered not to communicate it. Doing a "I'm not not telling you something, ha ha" might work on the playground, but not in real life.