Yep! And that's part of the reason many places probably shouldn't go back to the old way of doing things. Yes, you use more electricity for AC vs. natural ventilation. However, you gain so much efficiency during the winter with better insulation, and heating power use generally exceeds cooling power use above a certain latitude.
Now, there are some indoor air quality drawbacks associated with mechanical ventilation, but new standards around higher rates of fresh air intake and new technologies like energy recovery ventilators (which now even come in ductless options) are fixing that.