Salam Alekum Aziz.
My heart goes out to you and your wife.
I would suggest if your wife could speak with immigration Canada, in Canada, and explain to them the huge difficulties you guys are having at the Canadian Embassy in Rabat.
You're not the only one.
Apparently, that Canadian Embassy is a nasty one .... but if the Government of Canada accepted your wife's sponsorship then the Canadian Embassy has no choice but to comply.
Also, if your wife wants to live in Morocco with you, she can since you guys are legally married.
I am marrying a Moroccan man and I'll be damned before a Canadian Embassy will stp me from reuniting with my spouse.
They cannot do so.
Because the law in Canada says that "family reunification" is a priority at Immigration level.
The Canadian government has realized that couples need to be united sooner rather than later and the Canadian government can NOT refuse reunification based on religion, age, sexuality nor culture.
There must be something else hidden behind the Embassy refusal of your visa, but if immigration canada has accepted your wife sponsorship then the embassy needs to go plant potatos instead.
Ask your wife to seek further counsel and make sure that nothing stands in your way in order for you guys to reunite and live together as a couple should.
I am also older than my husband to be yet I am not scared to apply for sponsorship and if they refuse, then I will stay and live in Morocco.
Good luck to you and your wife in your life