Is there a way of making biofuel for an unleaded vehicle engine?

By using cooking oil is there a way to convert it into fuel for those vehicle which run on unleaded fuel?