I was wondering can a Witch with the Hex of Healing brew potions of cure light wounds by using up a hex? It says it functions as the spell but I'm not sure.
No. It is saying it follows the rules for how to use it, but it is not a spell just like a vampire's dominate can not be used to make a scroll while still acting as if it is dominate person. Other supernatural abilities also act like spells, but they are still not spells.