I find it hard to believe that pain isn't a well studied area of medicine. But to answer your question, we already do know how to "modify/intercept nerve signals", they're called painkillers.
The point is that more effort isn't likely to dramatically change things on the margin. Whether we know much about pain in an absolute sense is really quite orthogonal to the question.
Citation needed; I think is completely possible to modify nerve communication in real time and its within our reach but the resources to do all the research and experiments just aren't there; the causes with the big bucks are things like cancer research (nothing worng with that, just pointing it out); plus many artificial obstacles to make lab-grown nerves such as religious organizations against stem cell research.
Pain is something where acupuncture and other related methods might be better.
For acute pain such as the OPs experience, painkillers are/should be first line when treatment is indicated.