Yes, a loose or improperly closed gas cap can trigger warning lights, including a flashing mileage indicator.