Yes, thermal imaging can produce pictures even if there is no presence of visible light. Night vision cameras work by boosting the ambient light. So if there is no ambient light, then night vision cameras will fail to register a usable image. Learn more about how a thermal camera works here.