The short answer is yes but no. Soften your vegetables and then add in the spices. Taking the time to bloom the spices during this step before adding liquid ingredients will help to bring out the flavors in the spices because there are fat-soluble compounds in them that are best released when sauteed.