Obviously you'd want a cut off at some temp though, for safety concerns.
I have a mixing valve on the output of the water heater to mix with cold down to about 50C. This lets you get around 2x the nameplate capacity of hot water out of the tank so there is enough to bridge a cloudy day.
To get the full capacity of the panels, it necessary to choose a water heater element that matches the source impedance(Vmpp/Immp) of the solar panel array.
Hybrid Hot Water Heater Saves 69 Percent On Energy Consumption:
https://russell.ballestrini.net/hybrid-hot-water-heater-save...
I saw video of a guy installing one in his off grid house. He was mostly stoked with it because it only drew about 300W. But had a problem because it would do a check of the heating elements on startup which would crowbar his inverter. He fixed that by installing lower wattage elements.
If your into small scale Food Production checkout my channel: https://youtube.com/c/RussellBallestrini
My house inverter is grid tied so I have a backup for the start up spike in energy.
But I never learned if this was a real concern or not.
In countries like brazil and germany that allow "bare wire" heating elements you might have trouble with the tank lining plating onto the element or visa versa.
The payback is 3-6 years depending on what ratio of peak/off-peak power pricing you assume.
You'd wire the PV panels directly to the heating element. (Of course you'd have to size your element to match the volts/amps of your panels)