It is normal to be able to reduce awareness of pain by focussing on something else. This is not the same thing as thinking it into existence, as you suggest. It is the other way round; thinking it into non existence.
This kind of diversion is a useful pain management strategy, but it is not a solution.
A bruised reed shall He not break, and the smoking flax shall He not quench.
Hail Mary, full of grace, the Lord is with thee. Blessed art thou among women
and blessed is the fruit of thy womb, Jesus.
Holy Mary, Mother of God, pray for us sinners, now and at the hour of our death.
Ad Jesum per Mariam