The right sneaker will protect your foot and ankle while in motion.
Any classic sneaker or cross-trainer with grippy soles should work perfectly – as long as your foot can be firmly planted on the pedals, you are wearing the right shoes.
Just make sure they’re the right size for you – and if you experience any pain, listen to your body.