Yes, you can eat pineapple with brown spots, but it's important to use your judgment and consider the degree and location of the brown spots. Small brown spots or specks on the pineapple are typically harmless and can be cut off. Cut around the brown areas and assess the rest of the fruit for freshness and quality. If there are large brown or moldy areas on the pineapple, it's best to discard those portions. Mold can spread quickly and make the fruit unsafe to consume.  Smell the pineapple to ensure it has a sweet, fresh aroma. Check the texture; it should be firm but slightly yielding to gentle pressure.