(Psychological / emotional perspective)

Many people have difficulty in expressing their emotions, so a gag in dreams may symbolize the underlying emotional difficulty that prevents us from doing so.

This might, for instance, be childhood trauma or the feeling that we will not be listened to.

To gag, as in experiencing nausea, suggests we are trying to get rid of negative feelings.