There is no build in functionality within ACS email designer to generate the barcode rather you can use barcode image url externally generated or if you have it in any of ACS custom resource field that holds the barcode image url and you can use that with image personalization to achieve what you're looking for.