We are already doing this, no?
Every time we take medication that lowers our fever during an infection (antipyretic ), we trade a bit of immune response for a much more comfortable illness.
The other aspect of this is that carrying more pathogen, for longer, increases the chance that you will infect others.