Yes, you can complete the medical exam in your home country. You only need to locate the nearest Designated Medical Practitioner (DMP): See http://www.cic.gc.ca/dmp-md/medical.aspx
The DMP who performs the medical, not you the applicant, is responsible for sending your medical results to CIC's...