You’d really mess with the hardware before checking potential software issues and fixes? Brave, and maybe overkill.First thing I'd do: Crack open the case ( not a lovely job on a slim iMac), repaste the CPU and GPU, clean out fans and check fan is working properly and is not obstructed.