Yes, there is no restriction to driving at all. You can even drive yourself home as long as you feel comfortable to do so.

Following surgery, it is actually suggested is to keep the foot mobile by moving it as if you were pushing the clutch on a car.