Your ankles are hitting the cranks because your foot is not supported and also not in "neutral" postion that allows your foot to hold the arch. Neutral foot is achieved when 2nd metatarsal, knee, and hip all line up.
Right now your foot is pronating inward and hitting the cranks.
Age could be a contributor to a changing foot. Feet can get larger and wider with age. I wear a size larger shoe than I did 10-12 years ago and need much more arch support.
What do the people who ride with you say about your pedaling/knees? If you are not clearly knees in to toptube, you probably need to be wider.
Also, do your hips ever hurt?
Try the arch support 1st- maybe even more support than you think you need. Sometimes correct arch support feels like too much at 1st. Like you have a big ball under your foot.
Then think about moving foot wider to get the knee lining up with 2nd metatarsal.
Funny you mention this. I have been considering new insoles. Been on the garneau's now and though comfortable not much for arch support. Was considering esols or fizik, but may just go custom.
To your point of going wide seems opposite to what I feel I need. I feel best with my feet close. I'm sure wide would keep my ankles from hitting due to the gap, but aren't my ankles moving in cause they want to be closer? Gotta see this is a rather new thing for me so naturally have suspect the cranks, but I guess getting older is doing its share to my arches as well.