Hello RDWJ and Welcome to the Forum:
HVAC ductwork is usually made of galvanized steel and needs to be washed with equal parts of vinegar and water before painting (some paint stores have a more elaborate treatment). I would wait until the heating season starts because of the condensate of air conditioning which would make the paint peel. I wish you the best with your project.
Glenn