Yes. You may drive your car with the lights on. The airbag light on can mean that there is a problem with your vehicle's airbag that needs attention.  But the underlying risk of the airbag not working and you getting into an accident remains. So to be able to drive your vehicle safely, you need to address the problem when the airbag light turns on.