FYI…globally kids dont like herbal taste, so your idea is not totally acceptable to children.
Further children medicine are fruit flavored to make it acceptable like whats being used in cough and multivitamins .
Gummies are choking hazards so not the most advisable for children or infants medications …
Such medications is likely liquid although rarely there are hard candy which are called cough drops during my childhood but looks uncommon in recent times…