Yes, you can. The taste will be a bit more sour than if you were to use canned pineapple chunks. However, you can balance that by adding 1/4 cup of pineapple juice to the original recipe.