Yes, the ECU can get overheated. However it is a rare occurrences in automobile, thanks to the effective cooling system of the vehicle itself. In many cases, wiring and sensors are the main problems. It is possible to apply cooling system to the ECU, either through air-cooling system by using fan or liquid-cooling system by using coolant and additives.