Driving there is an adventure for sure, the highways between the big cities are smooth, but once you hit the medina edges and mountain passes, it gets chaotic fast, you need quick reflexes and a lot of patience. Best move is to rent a car in Morocco with full insurance and grab something with decent horsepower, overtaking slow trucks on single lane desert roads is not the time to be in a wheezy hatchback. You can check the available fleet and lock in a ride before you fly at
https://getrentacar.com/en-US/morocco .