No, you will not be able to book an appointment with a GP before you are in the UK. Your GP should be within your local area, so without a proof of UK address you won’t be able to register or book your initial appointment.
Once you have proof of address and have registered with a GP you will get a NHS number, which will allow you to navigate the NHS systems more easily.