Compost is vital in growing plants. Compost can be made from organic waste, and enriched with chemicals such as ammonia. Dead bodies may be a part of compost. But recycling the dead might be more ceremonial than practical. Each setters consumes about 2.7 kg of food per day, and rejects about 2kg of waste. This is about 730 kg per year, or over ten times the settler's body mass. So for a large colony the input from human body mass would be very small.
Biomass from food production can also be included in compost as well as animal wastes. Most compost is biomass. Compost will be competing for use of biomass with the plastics industry.
Contamination of compost needs to be addresses as the compost minerals end up in the food chain.
Composts that include biological and meat wastes should be heat treated to kill dangerous bacteria.
Composting generates heat and consumes .