I’m gonna have to disagree with you on that.
Consider this experiment:
After washing the area with iodine or alcohol, make small cut in your skin with a sterile razor. Is it not going to be a bit red and tender the next day? And, if you feel or look closely, is the area of the cut not a bit raised compared to the rest of the skin. In other words, it’s swollen.
That thought experiment (you can make it real if you want) encapsulates most of the features of inflammation - pain, redness, swelling, and heat. And, the inflammation you could cause in that way is not to fight infection (although I will grant that in this sort of example, it may be helping to prevent infection). The inflammation is to promote healing, independent of infection.
Except for the pain, the other features of inflammation (swelling, redness, and heat) are due to increased blood flow into the affected area. Intuitively, that’s a good thing because whenever and wherever a part of the body is injured, supplies for repair, and the effectors of repair (specialized cells), must be brought to the area.
But, any attempt to talk about inflammation is dicey because there are different types of inflammation, or at least there’s inflammation at different scales of both time and location.
Whereas acute inflammation (as above) is necessary for repair and healing, chronic inflammation tends to be more associated with disease. And, whereas the obvious signs of inflammation we see at the site of a cut on the skin, or around a broken ankle, are just that - obvious, - a LOT of disease-associated inflammation is invisible to the naked eye. All those" itis’s" you hear about? Well ‘itis’ means inflammation and many of them don’t really have much in the way of (macroscopic) swelling, redness, or heat and often not pain either. But inflammation is definitely what they are. Their name emphasizes it. Nephritis (kidney inflammation), myocarditis (heart muscle), pneumonitis (lungs), hepatitis (liver), etc., etc.
BTW, another example of inflammation having nothing to do with infection occurs after heart attack, where the heart muscle gets damaged. If you look at the site of damage through a microscope, you see typical signs of inflammation. Same with damage to any body tissue, e.g. after a stroke. Nil to do with infection.
This is a HUGE area and rather than me going on and on about what I think is relevant, it’s probably better if people just ask. Then I, but hopefully also people who actually know something about inflammation can answer.