Your idea is right except you said raise the ph. You want to convert the desired product to a salt by lowering the ph with something like hcl(acid) and then using a solvent to wash the "fats" away. The product when in a salt form is soluble in water and stays out of the oils that are soluble in the solvent.
Avatar art created by unknown Cambodian or Laotian. Everything else is fiction.