Yes, you can spray soapy water on tomato plants to curb bug attacks. However, we recommend spraying the same in the evening when the sun is about to set and washing the mixture away before noon, since the UV rays and soapy water can actually burn plant leaves.