Moroccan food experiences vary by region, city, season, and the people you meet. Marrakech, Fes, mountain communities, and the Atlantic coast each create different opportunities for market visits, meals, and cooking conversations.
The strongest approach is to name food as an interest when the route is being planned. That lets the itinerary allow time for a market, cooking class, meal, or ingredient-focused stop without rushing the rest of the day.