You can do It. Your permit is processed from your home country so you need to show strong ties to home, education and career advancment (higher pay, promotion etc.) in home country, and funds. So you have a higher chance of refusal because you are in Canada and a visitor.