Yes, ripe and unripe both jackfruit are safe as well as beneficial in pregnancy. You can also eat jackfruit seeds. But you must boil them before eating.