You can use an Organic Cold pressed Neem oil / Organic Insecticidal Soap solution and treat your plant with it, but I wouldn't use it in the last 3-4 weeks before harvesting as it can effect taste. Or something that was just suggested to me that you can even use in flower with no bad effets is a product called Dr. Zymes.
https://www.doctorzymes.com/pesticide-free-insecticide.php
Check it out! Happy Growing, hope this helps! 👊