So not in your province, but if you want to do that I would suggest seeing about voting by mail or going into the local election office to talk to the staff there. They will be happy to help.
I would call your polling place and see if you couldn't work something out prior to get an absentee ballot. As long as you give them notice and how long you'll be gone, they should be able to print and send you one well before your trip. Will stay with local BoE until ballot count day.
Comments
https://votebymail.elections.on.ca/