If you can find it locally, by all means don’t plant it in your garden!
Depending on where you live you might be able to forage for wild herbs including yarrow. If you can find it locally, by all means don’t plant it in your garden!