Yes, you can spray neem oil onto the soil. In fact, one option for using neem oil is to do a soil drench, in which you water the soil with a similar neem oil mixture. In this case, the neem oil will help defend your plants from soil-dwelling larvae or pests.