The short answer is yes. However, the results will be a bit different. If you want to use dried chiles, rehydrate them by soaking in hot water for a few hours before carrying on with the recipe.