Yes. Title II, section 6 of the Volstead Act specifically allowed wine to be manufactured for sacramental purposes.
Nothing in this title shall be held to apply to the manufacture, sale, transportation, importation, possession, or distribution of wine for sacramental purposes, or like religious rites, except section 6 (save as the same requires a permit to purchase) and section 10 hereof, and the provisions of this Act prescribing penalties for the violation of either of said sections. No person to whom a permit may be issued to manufacture, transport, import, or sell wines for sacramental purposes or like religious rites shall sell, barter, exchange, or furnish any such to any person not a rabbi, minister of the gospel, priest, or an officer duly authorized for the purpose by any church or congregation, nor to any such except upon an application duly subscribed by him, which application, authenticated as regulations may prescribe, shall be filed and preserved by the seller. The head of any conference or diocese or other ecclesiastical jurisdiction may designate any rabbi, minister, or priest to supervise the manufacture of wine to be used for the purposes and rites in this section mentioned, and the person so designated may, in the discretion of the commissioner, be granted a permit to supervise such manufacture.
Translated from the legalese, this means that the Volstead Act's prohibition on the production, sale and transport of intoxicating liquors does not apply to wine manufactured for sacramental purposes. Such wine was not to be furnished to non-clergy, but this prohibition was regularly ignored.