Absolutely! I would recommend using fresh wherever possible, but you can certainly use canned or frozen pineapple, especially if fresh is not in season.