Yes, a dirty air filter can restrict the airflow to the engine, causing it to work harder and lose power. This issue becomes more noticeable when the AC is on, and the engine is under additional load.