A patent has just been granted for this: ACTUATED FOOT ORTHOTIC WITH SENSORS Quote: Systems and methods of developing a tissue deformation profile for a foot of a patient. The tissue deformation profile can be used to identify a desired configuration for an orthotic device

More here:
Actuated foot orthotic with sensors and variable stiffness