If in a country with socialized healthcare, they should be illegal, they cause joint problems in the long-term.
Almost everything that can possibly hurt you is banned here or highly taxed, because of the reason of healthcare being socialised, because if they dont ban everything that can possibly hurt you, then it increases the costs to the healthcare system, so I dont see how high heels are any different, they cause long-term damage to the body and end up with women needing knee/hip/back surgeries, that the system pays for.
Basically governments need to either ban high heels, or put a huge tax on them, or make it so anytime you buy a pair of high heels, that you're no longer eligible for joint surgery for your back/knees/hips