Hair pulling at night

Sarah

My daughter is 14 months and has always played with her hair to help her fall asleep. She pulls it out though without knowing. Is there anything I can do to stop this?