Yes, you can eat guava that's not fully ripe, but it may not be as sweet or soft as a ripe one. The texture can be quite firm and the flavor more tart.