Yes, as you know deer do not like the smell of any plant. In short, they do not like aromatic herbs, plants, etc. so with the help of soap, you can protect your vegetation from the deer as they won't come there again if they smell its fragrance.