What year vehicle are we talking about? If it has an electronic ignition it sounds more like an ignition module getting hot vs the coil. I've had several coils mounted atop the engine, and the heat has never been an issue for them that I recall. Those dadgummed ignition modules are a different story.