According to the Spanish wiki, in 1931 a group of 800 "prominent Moroccans" asked Spanish President Aniceto Alcalá-Zamora for equal rights for Moroccans in all aspects, but the Second Republic only gave Spanish citizenship to the Moroccan Jews, who were mainly descendants of the Sephardi Jews expelled from the Iberian Peninsula in 1492.
If in 1931 Spain gives citizenship to all the Moroccans living in the protectorate, who knows...maybe they end up annexing the whole protectorate and we could have by today Spanish Morocco as an Spanish autonomous community. Eventually the butterflies of this can affect also the Western Sahara, Spanish Sahara at the time. It can become an autonomous community by itself or become part of the Canarian or Moroccan communities.
On one hand, the influential and very conservative Spanish Catholic Church wouldn't look in a good way this "bunch of Moors" becoming oficially Spanish, but on the other hand, AFAIK, Republican Spain didn't respected the Church a lot. I don't know, though, how would Franco have acted towards the Moroccan province or provinces. Maybe he would have pursued some kind of Spanification policy.
By today, if things go well for Spain ITTL, we could see a Moroccan autonomous community with an important nationalist/independentist sentiment, a la Euskadi or Catalonia.
In any case, I don't have too much knowledge of Spanish history and politics, so maybe I'm speaking ASB here.