No, driving without headlights is illegal in many states. Even if that’s not the case in your city, you still shouldn’t do it as it can lead to an accident and cause harm to yourself and others.