It’s really standard to clean out a coop or barn and spread the manure on a garden or field in the fall after harvest. By springtime the stuff has broken down and really helps in both nutrients and tilth. Farmers have been doing that for thousands of years.
Raw manure in a vegetable garden can cause problems. “Can” means it is possible, not that it necessarily happens each and every time. The rate you apply it and where you apply it can make a difference.
Raw manure can cause scab on potatoes. I’ve burned and killed tomato plants by getting fresh chicken manure too close to the plants. Squash, cucumbers, and melons are pretty sensitive to that too. I don’t worry about this one too much, but raw manure might spread some bad bacteria to your plants. I’m OK with some things, but things like green leafies that are in contact with it would bother me.
Some manures like cow or horse can carry a lot of weed and grass seeds, whether fresh or rotted. If they are composted the heat generated by composting will kill those seeds, but I never get perfect composting. The stuff in the middle heats up enough but the stuff on the outside doesn’t. That’s a huge reason to turn it. Not only does turning speed up the process, the more you turn it the more you get the seeds in the middle where they will cook.
If you can come up with a mechanical means to turn it, jump on that, bounce up and down, and go Wee! Wee! Wee! Turning by hand is dirty hard physical labor. That’s why many of us, me included, don’t turn the compost as much as we should.