You can but it will make no difference. To use hair you would need to pull it out with the hair follicle still on it, because that's where the DNA is. Spooky2 strongly recommends to use a piece of nail. Also, a hair follicle would need to be replaced for a new one much more often, while nails go a long way.
For more details, please check the link: