Yes. One study found that yields were better in soil with added hair than in soil with untreated hair. However, composting may be a better idea, as the composting process may remove some toxic chemicals from hair treatments.