Yes, to a large extent.
As a driver, you are of course subject to the behaviour of other road users, but most risks can be eliminated simply by being alert, skilled, knowledgeable and adhering to the traffic rules.