As far as the legal position at LHR goes, licensing law does not apply airside nor to providing of alcohol free of charge, so there is no legal impediment.
As Blumie says, the practical arrangements are No Harm No Foul and Don't Get Caught, to which I might add Don't Be An Arse.