I don't think so.
I have fibromyalgia, so I feel physical pain almost every day of my life. Some days it is a struggle to MOVE in my bed, much more so to get OUT of it. Sometimes I think it's so unfair, that throughout my childhood, I was plagued by pain that I couldn't understand. It's unfair that, in my adolescence, my father tells me, "Oh, you're young," and begins to list the complaints of his aging body, treating me as though it's all in my head and I am an infernal liar.
It's unfair that every other day, I get so tired all of a sudden that I just want to lay down and not ever get up, when this is the point in my life that I should be most vigorous and active-- enjoying life, physically. It's unfair that, after a few hours--sometimes just even minutes-- of walking, I have to drag my legs, in alternation, because they begin to ache until I want to cry. It's unfair that, when I lay down, my arm goes numb, and then hurts. It's unfair that, as I sit studying, in an instant I feel as though I have run several marathons and should just about collapse, when I have not moved for a half hour.
It's all unfair, if I think about it in this way. But it is more fair in one very important way. I know what it is to be in pain. I know what it is to not be able to do what you earnestly want to do. I know what it is, to have your body almost literally be a prison. I am young, but I already know what it is to be old. I am an empathetic person by nature, but I have literally, "been there, done that", and I have better relationships with people who are far older than me, than I do with youths my own age. I have learned more from such people than I otherwise would have, even on my own. It is a different way of life that I might never have found, without my daily dose of pain :) I am now different, in so many ways.
So, if I had the chance and the choice, no, I would not erase pain. You learn from every piece of the pain you get.