Yes. Foreign nationals, including Indians, can get married in Canada on a visitor or temporary resident visa. Marriage is an option available to all citizens and permanent residents of Canada. They can marry a foreign partner as and when they want.