Yeah. That's exactly how the release of classified information is handled. Not.
Actually it is, just not on paper. It's handled that way all the time. CongressCritters, from both sides of the isle, can get away with it because of Art. 1 Section 6 (first paragraph) of the Constitution.