I don't think so. I still have all my hair and I used spray, gel, color, etc...throughout my life. I have three brothers. Two are bald and the youngest is rapidly catching up, yet none of them used as much product as I did. However they all take after my father's side of the family, which tends to go bald, while I take after my mother's, which tends to keep their hair even into old age. I think it's in the DNA.
No, DNA is the contributor of hair loss.