Sure, fine in your garden if you like it (although you could grow many much more ornamental plants that are equally attractive to bees, including native plants).
It takes over wild areas with abandon... take a walk through Bowmont Park some time. It, Melilotus officinalis and alfalfa are rampant there and along the disturbed borders of many grassland areas, but at least they smell nice when in bloom.