Yes, if you were injured in a bike accident and you weren’t wearing a helmet, you can still recover damages from the person who was negligent.
Additionally, in New York State, only children age 14 and younger are required to wear helmets. Some municipalities have enacted stricter laws. Thus, it’s unlikely that you were legally required to wear a helmet if you were riding a bike.