Two things spring to mind - if you are taking any medication that could affect such things as concentration, decision making, alertness (eg strong painkillers) you probably shouldn't
You might be best to check with your insurance company because, although on the surface of it, you might be able to drive ok - they may have a different view, especially in relations to painkillers and/or a sharp pain if you brake suddenly - which could persist long after an emergency stop and in which case are you going to stop, take painkillers or drive in pain? It would not be good to have an accident and find out that you aren't insured because they consider it something you should have told them...
Edit: here's an orthopod's view https://nicksavva.co.uk/when-can-i-drive-again/ Although he doesn't mention insurance, he talks about left foot fractures being ready to drive an automatic 3-4 weeks after surgery on the foot