There is a strict guidance from the Medicine Management Department regulating what GPs should and should not prescribe.
Medication available over the counter, without prescription should not be prescribed due to the high cost to the NHS.
Your Doctor might stop these medications on your repeat prescription and advise you to purchase them from your Pharmacist.
Why can't I get a prescription for an over the counter medicine? - NHS (www.nhs.uk)