https://www.caa.co.uk/Aeromedical-Ex...e-material-GM/
Having a look through that is probably the best bet in the first instance. However, as is always the case, a definitive answer could only be given by the CAA. Any certification would almost certainly require consultant reports, and evaluation by a CAA psychiatrist.