Can Nesting Boxes be on the Floor of the Coop?

Many chicken-keepers mount nest boxes inside the coop, either set on the floor or attached to an inside wall. This is one valid option, with at least three downsides. The top of the nest box offers a surface on which chickens can roost and deposit poop all night(one more surface for you to clean).