This is a dangerous (and common) misconception about the immune system.
But if you’re asking if we should try to cram more than usual in there, I couldn’t tell you. I’m not an immunologist, so I don’t know how easy it is or is not to overload it, nor if it even works for all types of contagious infection agents. Some are probably highly resistant to gastric environments.