fun fact: a very common rocket fuel used by amateurs for model rockets is called "rocket candy" and is made in a process basically identical to making candy, and all of its ingredients (sugar and potassium nitrate) are technically edible
It is a *lot* of potassium nitrate though (about twice as much as there is sugar) so it probably wouldn't taste that great