You could even produce methane from the poo and burn that for heat.

You would need a lot of poo though and it would be smelly.