Yes, a bad battery or alternator can cause headlight issues. Make sure to have your battery and alternator checked if you suspect they may be the issue.