Her application cannot be processed by a visa office in Canada. It either has to be processed by a visa office in the US or the visa office responsible for her home country. Typically it's more difficult to get a study permit approved when you're already physically in Canada since it's more difficult to demonstrate ties to your home country. However she can certainly try.