Yes, but not entirely. A small-scale waste oil to diesel distillation plant can run partially on solar power. However, the distillation process requires high-temperature heat and continuous electrical loads that solar alone cannot reliably supply without significant battery storage or hybrid support. https://www.purepathtech.com/waste-oil-recycling-plant/waste-oil-to-diesel-plant