The rapid growth of industrialization has made the treatment of oily wastewater a pressing global challenge in environmental remediation. Electrocoagulation (EC), a process known for its high efficiency and environmental sustainability, has shown promise in treating various types of wastewater. However, the widespread adoption of traditional EC technology is hindered by challenges such as costly electrode materials, energy-intensive operations, and complex manufacturing processes.