Hi Areesha,
The German Asylum system and the Canadian Asylum system have nothing in common, therefore absolutely nothing is stopping from applying for asylum in Canada if you can.
You don't need permission from Germany before applying for Asylum in Canada.
Thank you and good luck.