Yes - but surveillance or searches should not be conducted without a court order/warrant
If a legally obtained court order/warrant with enough evidence is given for surveillance, that court order/warrant can be used without the party's knowledge until a charge has been made.