Algal oil is a potential substitute. There was a laundry detergent manufactured from algal oil instead of palm oil however there was pushback from consumers because the algae were genetically modified.
https://www.theguardian.com/sustainable-business/2017/sep/29...
Scaling algal oil production is a problem that is currently being worked on.