You can drive in just your socks, but it is still advised to wear proper footwear. Socks will usually have little traction on your pedals, meaning your foot can inadvertently slip and in turn cause an accident.