So, I'm from Japan and I'm going to high school in Canada this september. It seems like it's a little too late for me to apply for my study permit, so I'm thinking about going to Canada with visitor visa (actually Japanese aren't required visitor visa) and then go to Canadian Embassy in the US and apply for study permit, and wait for it while attending high school. Is it legal? Thank you in advance.