Full disclosure... My wife is a Rheumatologist and I'm just depriving some poor village of its idiot.
What I have picked up from her is that the immune system is very complicated and is made up of a series of balancing factors. So the short answer to your question is no that's not how it works.
An immune system out of balance one way will give you a histamine response which results in you sneezing and having to take anti-histamines by the bucket full. Out of balance the other way and you now have cancer.
Same thing with eczema and psoriasis. Those two conditions are the opposites if the immune system is out of balance in a different way. Sorry, I do not understand it enough to say what specifically is out of balance in this case. Just that if you take a drug for eczema like Dupixent, it can cause you to develop psoriasis instead. Someone taking Dupixent has to be dosed just right to keep the immune system in balance. Or they have to take topical steroids.
Hopefully a trained immunologist or Rheumatologist will come along and explain it better. The above is just my understanding based on what I've gleaned from my wife who is a MD/PhD and a lot smarter than I am.