Absolutely do not do that. Get married AFTER you have landed in Canada and become a PR. If you get married before, you will no longer be classified as a dependent and will no longer qualify to get PR through your mother. Again, DO NOT get married before coming to Canada.