Is there any harm in walking for exercise between flareups for someone whose gout has affected an ankle?

No, there is no harm in walking for exercise between flareups for someone whose gout has affected the ankle.