Criminal Law Questions? Ask a Criminal Lawyer.
No, this would not be legal. The police are not able to enter your home, without a warrant, unless they are in hot pursuit of a suspect, they suspect someone inside is in danger, or they, in plain-view, from the outside, see illegal activity going on. Unless you allow them to come in and search your home, they can not enter without permission or a warrant. The warrant needs to state specifically, what they are looking for. The police are not able to enter your home and just start looking every where. If it is determined that the evidence found was illegally seized, it will be suppressed and not be able to be introduced at trial.