Perhaps. But no-knock search warrants are also legal. The police can break into your house and put cameras or microphones in it with a warrant. Even though the process of breaking-in does affect the evidence a little, or even opens the possibility of a cop planting drugs or something, it's generally still accepted in court.
This is basically the same thing as using malware for surveillance. I'd argue the malware is even less invasive.