In days of old, when knights were bold and electricity was too cheap to meter, simultaneous humidity & temperature control was sometimes achieved by chilling air to ~40-45 degrees F to remove moisture, then reheating it to ~65-70 degrees before returning it to the room. The reheat element is inside the air handler; it's not intended to heat -- or reheat -- the attic itself.
It's every bit as inefficient as it sounds.
When you're actually paying for electricity, more-economical methods, such as blending chilled & warm air or matching the fan speed to the evaporator capacity, are usually preferred.
Reducing the summertime attic temperature with roof ventilation and/or radiant barriers is probably also a good investment.