@Chris.
I also use herbs, but with the purpose for my dragon to eat them.
My dragon prefers his greens to "look like a plant", being a plant in the best case or at least to look like one. So I grow herbs outside of the tank, put them in in their pot, and once he has nibbled them down to about only half of the green parts still being there, I switch them out and let them regrow on the balcony.
To be on the safe side regarding any kind of parasites, salmonella: there are "his herbs" and "our (humans) herbs", means, I won't use any potted herbs that have ever been in the enclosure for the kitchen.
In general, I think live, edible plants in the enclosure are a great thing - look nice, might smell nice, always something fresh to nibble.