The JMicron driver may be part of some third party software that you installed since it is shown in the EtreCheck report. If so, then it is possible it may cause a problem.
According to OWC there is no need for a thermal sensor adapter for the 21.5" 2012 iMac (there is no thermal sensor adapter included with their SSD upgrade kit, nor does the installation video mention it).
However, one of the other contributors recently mentioned that a High kernel_task can be due to macOS thinking the system is overheating and uses the high kernel_task as a way to "idle" the system in order to allow it to cool down. I've never really noticed this behavior before, but I also never knew to look for it. When I have performed system stress tests on Apple laptops to test their cooling systems, I have observed they will throttle the CPU speed once the fans are running at maximum speed. Perhaps the kernel_task was used with older version of macOS and older CPU models instead since the later CPUs will thermal throttle to protect themselves.
I also never heard of OCS SSD so I don't know how they work or their quality. Many SSDs today are very low end models which have performance issues. I agree with @John Galt that your old hard drive was most likely failing and causing problems, but I don't know whether this SSD is even compatible with this Mac. Unfortunately not all SSDs are compatible with all computers. Booting from an external USB3 SSD is a good way of testing this iMac, but you will either need to install a thermal sensor adapter or reinstall the original Apple hard drive so that the iMac has a working drive temperature sensor. If you reinstall the original Apple hard drive, then you could run DriveDx to check the health of the hard drive so we can see whether the hard drive is bad. Running EtreCheck while booted to your original hard drive could also tell us whether you may also have had any software issues contributing to the problem.
Another SSD option is the Crucial MX500 series SSD. I have used them in our organization's Macs without any issues. However, stay away from the Crucial BX500 series as it is a low end model that can be as slow as a hard drive and tends to overheat very easily when writing lots of data. Plus the BX500 SSDs tend to have an extremely high failure rate.
Don't be surprised if the Apple Diagnostics report a drive failure while your new SSD is installed. If the new SSD does not respond to the diagnostics as expected, then it will be reported as a failure even if the SSD is perfectly fine & healthy. Also, since you have Catalina installed you may have access to the online Apple Diagnostics (hard to tell since some system firmware updates break access to both the online Apple Diagnostics and the older Apple Hardware Test mentioned by @John Galt.
Since you only have the JMicron driver installed and the userland portion of One Drive, the only thing I can think of is whether One Drive is even fully installed and could be the cause of the problem. I don't use the OneDrive app so I'm not certain if it requires any other lower level system integration.
The best thing you can do would be to install the thermal sensor adapter and if you still have the problem, then perform a clean install of macOS by erasing the whole physical SSD before re-installing macOS. Then test the system before you install any third party software and before restoring/migrating from a backup. If you still have the problem with a clean install under these conditions, then you have a hardware issue with the iMac. The OCS SSD could be the problem so testing a clean install from an external USB3 SSD would help to eliminate the OCS SSD as part of the problem. Now you could try the clean install even without the thermal sensor adapter, but the results of the test would be inconclusive if you still have the problem.
I think these are your best options if you cannot have Apple or an AASP examine the iMac.