You are right. Such coffee-shit is really produced in Indonesia: https://en.wikipedia.org/wiki/Kopi_Luwak
And there are shops for European market:
https://www.kaffeeshop24.de/product/kopi-luwak-wildkaffee.4681.html
No matter, how it tastes, I would not consume such ugly animal-shit. ;-)
Concerning cow-dung I would have no problem to use it as heating- or building material. Cow-dung also has antiseptic properties. In some parts of India cow-dung and -urine is also used on wounds for faster healing.