EASA
It is. Under EASA you can sit the theory ATPL exams here in the UK and then do your complete CPL in another EASA state and have the licence issued by the UK CAA. Prior to doing so, I'd get written confirmation from the UK CAA by email just to cover yourself.