You can use animal products in composting, but not too much. Animal products decompose the same way plant products do but slower. I don't hesitate to add bones and fats to my compost bins. Just not too much.
If you are getting above 5% animal waste, that is probably too much. It really isn't the best stuff to use. You really need a hot compost pile for it.