Is it realistic to consider moving to canada alone as a minor?
Probably not until you're 18 unless you have someone in Canada your parents can appoint as your legal guardian. Besides, if you can't hack school in Morocco you surely won't be able to in Canada which has some of the highest educational standards in the developed world.
Don't you think that after trying 2 different countries, that the problem might not be the country, but rather YOU?
As a minor child, you cannot live without your parents or court-appointed legal guardians. Your parents apparently are not Canadian citizens. So you aren't going to Canada to live on your own. You are too young to work, cannot support yourself, cannot legally sign any lease or contract so you cannot get an apartment, etc.
in Canada, you can live on your own at 16, so, if you are legally Canadian, you can live there - you don't even need your parent's permission. However, doing so might be pretty difficult. Legal, possible, but, pretty hard without support.
What do you mean by "Canadian nationality"? Do you mean you are a Canadian citizen? Do you have a Canadian passport?
You won't be there long.