Yes, your check engine light can turn on if your oil is low.
Low oil pressure can trigger the oil pressure sensor, which then sends a signal to the engine control unit (ECU). This causes the ECU to illuminate the check engine light and store a diagnostic trouble code (DTC).