I'd make four points
1. Keep off the 'N' roads where possible to see more of the countryside.
2. The most scenic and spectacular roads are in the mountains.
3. Don't be too ambitious with distances otherwise you won't see much.
4. Don't visit Fez, Marrakech, etc unless you intend to spend at least half a day looking around.
From Melilla you could head to Taza for the first night, then from there head south on the R507 and visit the Gouffre Friouato (deepest cave system) then continue on to Tizi bou Zabal before heading west on the R504 to Sefrou and Fez. See M10
Spend half the next day in Fez, then head towards Azrou for the night, visiting Sefrou, the dayats, Ifrane on the way. There's lots to see in this vicinity with wild monkeys, volcanos, cedar forests, flowers, springs... See M21
for photos. Hotel Cedres in Azrou or the Panorama.
From Azrou I'd head south on side roads through the cedar forest and karst scenery via Ain Leuh, the source of the Oum er Rbia river (great place to visit) to Khenifra.
From there, head south via El Kebab and Arghbala to Imilchil in the central High Atlas mountains. You could stay at the lovely isolated gite next to the lake, or continue on a few km into Imilchil where there's loads of options.
Next day carry on south down the Todra to Tinerhir, see E11
That should give you some food for thought.