Yes, a dirty O2 sensor can cause the check engine light to illuminate. It can send inaccurate data to the car's computer, indicating a problem in the emission system.