Prepare the Pineapple: Cut the pineapple into chunks and place them in a freezer-safe container. Freeze for at least 2 hours or until completely frozen.
Blend the Base: In a food processor or blender, combine the frozen pineapple chunks, coconut milk, maple syrup, and vanilla extract. Blend until smooth and creamy. If using coconut flakes, add them in at this stage and pulse gently to incorporate.
Freeze the Mixture: Pour the mixture into a shallow freezer-safe container and smooth out the top. Cover with a lid or plastic wrap and place it in the freezer.
Stir Occasionally: If you’re not using an ice cream maker, stir the mixture every 30 minutes for about 2-3 hours to break up any ice crystals and create a smoother texture.
Serve and Enjoy: Once the ice cream has hardened and is scoopable, take it out of the freezer, let it sit for 5-10 minutes, and then scoop and serve.