No, heat rashes are not caused by viruses or bacteria. They occur when sweat glands become blocked due to hot weather or tight clothing.