Is it illegal to drive barefoot?

See, I could understand the unsafe part of this. The sudden spasm of the shoe. . .the subsequent stickiness of the pedals. . .