Yes, provided you are using toxin-free essential oil. You may mix a few drops of the latter with coconut oil. This will become a highly potent antimicrobial hair care product that can drive out dandruff and other irritants. Coconut oil would work great at nourishing the hair cells, while Rosemary will help make the strands more immune to frequent breakage.