Can You Do Ghusl without Washing Hair?

I suffer from increased illness when I do ritual bathing (ghusl) at night. Will it be possible for me to do ghusl without wetting my hair at night? Find out.