No, you do not need to pass your theory test before you start to drive. You will need to pass it before you take your driving test though.

So in summary, once you have your provisional licence, you can book in to have driving lessons. During this time you can book your theory test. Once you have passed this, you can then book your driving test once you are ready.