Yes, you can eat the eggplant itself raw or cooked. However, the leaves and flowers should not be eaten.