This process could be a way to reduce the world’s dependency on the ecologically destructive palm oil industry.