I don't want to give any spoilers, but it is not possible to generate the special wine "at will." If Asterion is gravely injured, the wine will quickly and painlessly heal him and restore missing body parts.
There is a complete logic to the wine and how it works. Some of it can be understood by digging deeply here and there. There is no plot hole. It's working as intended.