Only as rare exceptions. Patients can opt not to inform their GPs, but doctors are bound by General Medical Council (GMC) Code of Good Medical Practice, which makes it mandatory to keep GPs informed of treatments they prescribe to ensure patient safety. Same as any other doctors, GPs are bound by confidentiality regulations and cannot share any clinical information with any third party without your explicit consent.