Yes, you can absolutely use canned or frozen peaches. Just make sure you thaw and drain them before using them in the recipe.