
I have seen this done with tires to a degree. Basically if you have a shoe that still has a lot of rubber on its sole, but the tread is worn out, just use a soldering iron to make new treads. I recommend doing this is a well ventilated area thought.
https://www.instructables.com/id/How-to-Increase-the-Grip-of-Your-Old-Footwear/