Regarding echinoderms, some are certainly edible. Sea urchin gonads are popular as sushi, and sea cucumbers are also extensively harvested for food for the Asian market.
It’s true that a number of invertebrates don’t have much in the way of “flesh” to eat, but they could probably be made into soup. The tissue isn’t poisonous, which I think is what the OP is most interested in.