There are now some Foundation Year programmes designed specifically for doctors who want to pursue a career in Academic Medicine. These courses include the necessary clinical training for accreditation with opportunities for training in research skills. At present the number of places is limited so entry into these courses is expected to be very competitive.
Examples of syllabuses and entry requirements can be found at these sites, for the West Midlands Deanery and for Barts and the London School of Medicine and Dentistry.
For a general introduction to Foundation Year courses and how they are organised, see this Modernising Medical Careers website: