Yes, you can eat unripe pineapple, but it will taste very sour and be very hard to bite. Because the sugar isn’t there either, the fruit may cause diarrhea, indigestion, and gas. So, if possible, stay away from unripe pineapples.