What happens when a human eats a live cockroach?

Nothing. The acid in you stomach will immediately kill it. Cockroaches are considered eatable, certainly if you deep-fry them first.