Upvote:7
Yes. This is done commonly. When entering Montreal, they will ask you how long will yo stay. Just say 11 hours (or so) and, if asked, show them your onward boarding pass. There is nothing that requires a minimum duration or prior planning to use the eTA. Be sure to leave enough time to come back ahead of your flight since you will have to pass security again.