You need special permission with the 2 CAA's, and normally you must have valid/very good reason why you want to do it this way.
You need to do your ATPL theory in the UK for CPL UK. To be sure contact UK and French CAA, however I doubt the french will allow for it!