I’m not sure what cures leg mites but keeping my birds feet off mud helps . Not sure why she is pecks herself if you have checked for bugs . You could see about making her a jacket to stop her from reaching those places . It wouldn’t even need to be heavy fleece.
I hope she keeps getting better...