I did a road trip with a friend in Morocco,
casablanca -> meknes -> fez -> tazeka -> follow the atlas mountains to south visiting small towns until marrakesh (bought a desert tour from here) -> essaouira -> follow the coast line north back to casablanca.
Did a total of more than 3000 km (1900 miles?)
My suggestion: Don't do what we did :) Instead visit just Marrakesh which is a good summary of everything you'll find across Morocco. Spend 4-5 days, stay in a small hotel, don't look for star ratings. They are boutique and better than most chain hotels you'll find. walk in madinas, 100% visit night market at Jemaa El-Fnaa Square (be vigilant)
Don't have high hopes for historical buildings, they are generally plundered and in ruins. Shore line is nothing impressive, unless you are a surfer