Unfortunately, you are not able to claim moving expenses due to relocating for medical reasons. However, you can claim the cost of your travel as a medical expense if the travel was more than 40kms.
https://www.canada.ca/en/revenue-agency/services/forms-publications/publications/rc4065/medical-expe...