Yes. You can add data layer attributes to an Element.
You can add data layer attributes to elements. For more information, see Adding data layer event attributes.