Ok, now it's getting interesting. I think the 0% CIT, 0% VAT is just for companies registered in the Western Sahara part of Morocco though. A foreign company might be treated worse. And Morocco︀ like the rest of north africa has a quite difficult bureaucracy with generally high taxes︁ - but Western Sahara is an interesting exception.
So how about having a foreign company,︂ like a UK LTD treaty non resident, or US LLC owning the Western Sahara Moroccan︃ company. Or well, even better move south to Senegal, Guinea, Guinea-Bissau or some country like︄ that and just have a foreign company.