Yes. You might need to buy two different pair of shoes and wear a different one on each foot.
Or you can put in some kind of insole (as suggested above) to adjust.
My dad broke his leg as a kid in 1933.
The family set the leg with a sears catalog tied with bailing twine.
It healed to a different length than the other leg.
This altered his gait and his hips were unlevel,
which caused his spine to slant to one side,
which caused the vertabrae to rub against the cartilage on one side,
which started causing him pain starting at age 55 and lasted the rest of his life.
You might want to see a podiatrist for advice just to be safe.