Apart from the composting many of us do (deep litter, an AEROBIC slow compost method where the chickens themselves help ensure a shallow pile is frequently turned over), I'm not a huge fan of "feeding" from what we are trying to break down to turn back into soil.
BSFL composters and other compoosters to produce insect larvae for chickens are also AEROBIC composting systems, with the birds eating a byproduct - the grubs. While its "a step removed", there are still pathogenic concerns - mostly managed by strict control of what goes into the composter to be broken down.
There are people who do feed their birds on compost - the one guy has a business and a youtube channel about it - I can only assume his birds only have access to the recently deposited, still well aerated sections and/or he uses some large scale mechanical aeration process to reduce risks. Since he sells the compost when done, I'm inclined to think he's doing something to make it more efficient than the typical landfill.
As Azygous says above, Anaerobic breakdown is where most of the concerns arise from the process itself. So concerning that, in places where septic is impractical , but sewer is too costly,
aerobic composters (ATS) are being installed to deal with household human "waste". When the system stops working, a bright light (usually mounted on the house) flashes and a klaxon sounds that would put a burglar alarm to shame. Its that important.
As to chickens eating poop - they do it all the time. They aren't injesting anything not already present in their environment. In a closed system, that's not cause for concern beyond their ability to spread things (for good or ill) from one chicken to another. Heck, its one of the ways they share beneficial bacteria. In an open system? If you can't control the inputs, poop eating only speeds the rate of exposure - but the problem is the open system, not the poop eating behavior.
As long as your garden waste is spread in very thin layers, over large areas, I'd not be concerned. Big thick piles? NO GOOD.