Lignophagia
A related stereotypy in horses is cribbing , where a horse grabs a board or other edged object with its teeth , arches its neck and sucks in air . 
<triplet> cribbing <subj> stereotypy <obj> instance of