Can cleaners be an irritant to the lungs? Of course. Inhaling a lot of things can be an irritant.
Most cleaners that consumers use are surfactants sometimes mixed with alkylbenzonium disinfectants (in very low concentration). Even cleaners that are ammonia based aren't harmful.
Now on the professional side, I could believe there is risk. Some of those chemicals are very harsh.