Do you have a points distributor ? A timing light ? when it starts acting up like that have someone in the car keep it running and look at the timing light , if it's missing then you will see it , could be the coil , could be the pickup in the distributor or ...

But I would think if it was heat affecting ignition components wouldn't it make the car miss and fart at ANY RPM and not just idle ?