It is OK to eat them if they’re not spoiled, of course, but you’ll probably not want to do that since such tomatoes look not appetizing.