Yes, pharmacists in the UK have the legal right to compound medications. This right is protected under the Human Medicines Regulations 2012 and regulated by the General Pharmaceutical Council (GPhC). Compounds are created only when a valid UK prescription has been issued by a prescriber to a pharmacist.