I had the opportunity to try this when I was in Indonesia. The place I was at was a cafe advertising the most expensive coffee in the world, I think it was approximately USD$30 for a cup at the time (almost 10 years ago).
I remember seeing the example cages with civets inside them and a description of how it’s made (plus a conversation with a friend I was travelling with), and decided not to try it.