Yes, under Section 134 of the Criminal Justice Act 1988
134 A public official or person acting in an official capacity, whatever his nationality, commits the offence of torture if in the United Kingdom or elsewhere he intentionally inflicts severe pain or suffering on another in the performance or purported performance of his official duties. .
(2)A person not falling within subsection (1) above commits the offence of torture, whatever his nationality, if— .
(a)in the United Kingdom or elsewhere he intentionally inflicts severe pain or suffering on another at the instigation or with the consent or acquiescence— .
(i)of a public official; or .
(ii)of a person acting in an official capacity; and .
(b)the official or other person is performing or purporting to perform his official duties when he instigates the commission of the offence or consents to or acquiesces in it.