Yes, unripe green mango is safe to eat as long as it's not too unripe.