Toddler shoes in washer?

Bri

My toddler peed all over the place including in his shoes. Like a pool of pee in his shoes. I tried just using a cloth to wash it but it’s bad and smells. Does anyone know if I can throw his shoes in the washer?