Yes, the smell of bleach can definitely hurt dogs.
Bleach fumes can irritate the respiratory system, eyes, and skin. Ingestion can cause dangerous burns or death.
If exposed: Remove your dog to fresh air, wash affected areas with water, monitor closely, and contact your veterinarian. Store bleach safely, use it in ventilated areas, and never mix it with other cleaners.