Absolutely, using fresh yams you would need to adjust the cooking time or boil them ahead of time if you want to mash them as in this recipe.