Yes, cooking apples are safe to eat raw. They are simply more tart than most people prefer, as there is less sugar in them than dessert apples (like apples).