I would suggest your first port of call would be your GP. There could be various reasons for your foot pain, and each my have a different solution.
In answer to your question tho, yes you can have an injection into your foot. My wife did for "Policeman's Heel".