As another said, I don't think there is a problem with that. Last summer, I had my tomato plants in a 1/2 barrel with oregano, basil, rosemary and thyme planted around them. I had to water so much, I didn't do the same this year. What was handy though, is that I'd grab a ready to eat cherry tomato, pass it through the herbs surrounding them and pop it into my mouth. Yum! Not many tomatoes made it to the kitchen.