A man has been arrested for possession of drugs after 29 vehicles were stopped during a “bad driving” crackdown by police.