It's not dangerous at all. The US already has helmet laws for motorcycles and kids on bikes, seatbelt laws, gun laws around safe use and numerous other laws that prevent people from inadvertently affecting others lives.
Making people wear masks in public transport or other public settings during a pandemic is hardly an overreach in comparison.