Impersonating a federal officer or employee is a crime. 18 U.S. Code § 912
(technically you have to obtain a document, money, or other thing of value to run afoul of that particular law, but getting a reply to a successful spoof might qualify, and who knows whatever other laws it might violate, 25 CFR § 11.432 perhaps).