Well, you could to go in Marrakech and from there to go in Erfoud, so you are near to Merzouga.In Merzouga there is a little hotel far 10 meters from the desert, you could to sleep there and with them, you can go also in Sahara.But 10 days in desert are too much, so you can enjoy Marrakech, Ourzazate too : fantastic places