No, there is no need to cook the spinach first. The palak is first pureed with aromatics and water and then added to the dough before cooking. Therefore, the spinach does get cooked but still retains its freshness and nutrients.