I am seeing symptoms of overheating. That is very possible with any activity that needs a lot of CPU and GPU resources. That includes rendering apps, gfx-intense games and sims, streaming video, and video-conferencing. All will heat up an iMac enough to kick in the fans.
However, the next thing to check after evicting CleanMyMc with extreme prejudice is the physical positioning of you iMac.:
- the space between the bottom of the case (where the air intakes are located) and the work surface is roughly 3 inches (75mm). That amount of space must be maintained. I have tested with both temp-monitoring software and physical, remote-read digital thermometers: stacking almost anything between an iMac case and the work surface will raise internal and exhaust-air temps.
- The air intakes get dusty and must be cleaned. However, do not use anything that pushes the dirt farther into the computer, like canned air. Every 6-8 months (I live in a dusty environment) I place the computer face-down on a table. I use a non-static brush (I use wooden-handled, natural-bristle pastry brushes) and Dear Wife's vacuum cleaner set on high. I hold the vacuum nozzle about an inch from the intake vents and use the brush to flick the dirt toward the nozzle.
- Do not tip the iMac screen to its fully forward position. That greatly reduces the space into which air exhausts and temps wiil rise, even at idle. Again, I have confirmed that with two different measurement methods.
About RAM: Yes, it is OK to add RAM but it is not the cure-all that RAM vendors continue to parrot. Please make sure you are not stressing over something that changed over seven years ago.
Starting with macOS 10.9 in Oct 2013, Apple re-engineered its RAM allocation scheme based on the principle that “unused RAM is wasted RAM.” "Free RAM" may be good for Windows but the current metrics for Mac RAM evaluation changed in 2013 to "Memory Pressure" and "Swap Used." The change allowed macOS to make more efficient use of available RAM for better performance. It;s like people: i a work where humans may use only 15 percent of the brain capacity, the person who uses 20 percent has an advantage!
The new metrics: If Pressure is in the green and Swap Used is zero or nearly so, everything is working normally. Used and Free are outdated RAM concepts for Macs running OS 10.9 or higher.
This screenie is from an older iMac after updating to OS 10.9 and the new RAM scheme. Note how much of its installed RAM was being used (11.1GB of 12GB), yet the computer was running perfectly.

And, sampled while typing this, here is my current iMac 5K running Mojave with 16 GB RAM:

Again, it is being well-behaved. Apple's new RAM scheme is very, very smart.
Here is an Apple support article on the subject: View memory usage in Activity Monitor on Mac - Apple Support
And another: Check if your Mac needs more RAM in Activity Monitor - Apple Support
The propeller-head version is here: https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/ManagingMemory.html#//apple_ref/doc/uid/10000160-SW1