Yes... ish
They need a controller. Usually built in the fan motor.
Depending on the controller you can hard wire the fan to function in discrete mode (classic on/off) or you can feed it a PWM signal to modulate the fan speed. Said PWM signal usually comes from the ECU or Spal sells a sender that gets welded in the rad and will PWM the output without any action on your end. Pretty nifty setup.
My Holley ECU is programmed to output the PWM signal directly to the fan so I don't need the sender.
Highly recommend the Spal brushless lineup. they are (very) pricey but work amazingly. The soft start function is amazing and being speed controlled, you almost don't hear them operate most of the time.
Edit : If you're after the variable speed function but do not want to change your fan to a brushless setup, there are inexpensive ways to do that too. C6 controller comes to mind.