I get sharp pains in my ankles when I rotate my feet after running. Is this caused by over-pronation?

It could. Depending on the severity of flat feet you could develop ankle problems. The ankle may tilt in what we call a valgus position causing stress to the ankle. Orthotics/shoe inserts may help you. They help align the foot which inturn aligns the ankle.