I'm pretty sure our current rogue criminal government can do anything that they want, and it is LEGAL in their eyes. Now if it actually is legal, as far as statue or Constitution, I doubt it, but that has never stopped the criminals before.
They do whatever they want to us, and we pretty much never do a damn thing about it.