Yes. Broccoli and Thyme have a documented companion-planting benefit. University of Minnesota Extension cites an Iowa study where thyme, onion, and nasturtium helped reduce cabbage looper and imported cabbageworm damage in broccoli.
This is a practical yes, not a magic guarantee. Keep the normal spacing for Broccoli and Thyme, watch airflow and watering, and treat the companion note as one useful planning signal alongside sunlight, soil, and harvest timing.
Source basis: University of Minnesota Extension companion planting guide. The page does not add extra pest-control or yield claims beyond the sourced fact row.
Spacing tip: Use herbs and flowers as edge plantings so they help diversity without competing for the crop row.