Yes, if they have reasonable suspicion. But unlawful searches can be challenged in court.