Yes but you need to declare the income on your Canadian tax returns. There may be tax treaty with your home country and Canada. If doing freelance jobs you should spreak to an accountant in order to figure out how best to set yourself in Canada for tax purposes so you can be self-employed.