Yes, you can use it, as it does not affect the quality or taste of your buds. However, you should be careful not to spray too much on the flowers themselves, as this can reduce their resin production and potency. You should also rinse off any excess soap from your buds before harvesting them.