We aren't able to answer that question. Talk to your doctor.
We don't know your medical history and exactly how you hurt your feet. You're even pretty vague about it yourself. There's no possible way a stranger can answer that.
However, running IS more impact than stepping and walking, so there is the potential for more harm and pain, yes.
Ask your doctor.