On carpet, you don't really need much traction from your shoes. Carpet grabs at your feet--you do not want a shoe with a "grabby" sole.
I have played on carpet, during the winter months, for 35 years. I always wore whatever pair of my "hardcourt shoes" were most worn.
Worked for me.