Well, they can if they suspect drugs, weapons, dangerous goods etc. But nothing to do with a vehicle defect. In extreme cases where there is danger to you or the public or if you were involved in anything then they may.
Short term: For defects? No, unless you agree to it.