Q.is yellow yarrow the same as white yarrow? does it attract bees?
could yarrow be planted in a pot outdoors and seeds collected for next season? I have a very small garden so I don’t want to risk planting anything that might become invasive.

Yarrow (Achillea millefolium) is also called "milfoil." It's a flowering ornamental perennial that's often included in butterfly gardens. Different species of yarrow are native to different parts of the world; native species are found in Asia, Europe, and the United States.
https://www.gardeningknowhow.com/garden-how-to/gardening-by-zone/zone-5/zone-5-yarrow-plants.htm
https://www.gardeningknowhow.com/garden-how-to/gardening-by-zone/zone-5/zone-5-yarrow-plants.htm