Combine the pineapple, coconut milk, yogurt, coconut, and ice in a blender. Blend until smooth. Pour smoothie into two glasses and garnish with toasted coconut, if using. Serve immediately.