If one leg is several centimeters shorter, lengthening the other one using exfix or nails is a very common method where I live and fully covered by health insurance.
If it's just a few centimeters, you get inlays or lifts for your shoe, because it's non-invasive.