Forget about this. Acetic acid is a weak acid and it certainly won't give up its protons to form a strong acid like HCl. Going the other way around does work. When you add sodium acetate to hydrochloric acid, then you obtain acetic acid and table salt.
Maybe, you could get some HCl in low yield if you add waterfree acetic acid (glacial acetic acid) to table salt. This depends on the solubility of HCl in acetic acid. At low solubility some HCl may be driven off.