Pi4 fan loud

any chance I can turn on/off the pi4 fan using automation? the pi4 used to run around 110F and after I removed the fan it jumped to 150/160 (which is still reasonable).

Any ideas on how I can accomplish this automation?