Student visa would be changed to PR, check designated university/college, check PGWP, moreover, an open work permit can be granted for your spouse.
If you insist on Canada, Yes I agree with your opinion, apply for a PhD.
It takes more time but considered a safe and easy way to enter and reside there.