That would work for me - but wouldn’t if I had a rooster.They won't eat from a feeder. They eat it if it's in their food.
Try putting it in your chicken's food. They might eat it.
Mine eat eggshells from a feeder. It is cute. Each night they file past the eggshell feeder on their way to roost.