According this legend, somebody called Sheik Omar chewed on coffee berries when living in exile. It is mentioned he found them too bitter at the time. But is it possible to eat them?
Also, according wikipedia: "The caffeine in coffee "beans" is a natural plant defense against herbivory, i.e., a toxic substance that protects the seeds of the plant."
But clearly that does not poison us humans.