Batch editing question

Is there a way to batch edit the gain of every breath in a session simultaneously by having Audacity identify a certain type of waveform?

Do you have a gasper doing a lecture? I’m going with no. Audacity only has one waveform recognizer and that’s Noise Reduction. You could try it. Drag select one gasp and use that as the profile step. Then apply noise reduction to the whole show, or a significant portion of it and see what happens.