Though it isn't technically illegal for you to drive in flip-flops, socks, or barefoot, it is not advised and can be dangerous. You could also be hit with a fine and penalty points.