Astronauts on the International Space Station use foot straps to stand in place at workstations or on exercise equipment.
Such boots were featured in The Adventures of Tintin comic Explorers on the Moon, to prevent the characters from floating around in the cabin if the artificial gravity failed.
The Celestial Voyages historical science fiction series by Jeff Provine uses magnetic boots as the main sense of balance in its Edwardian starships.
Magnetic shoes are a running theme of the series and are used by crews of small Pan Am shuttles as well.
In the novel and television series The Expanse, characters frequently use magnetized boots to keep themselves upright when not using thrust acceleration to simulate gravity.