solar panels are typically pretty warm already. There are even panels that allow you to push water through them to keep them cool.
I wonder if that would be more effective than dumping resistive heating into water. I suppose it could still be bad for the panel, i would assume panel manufacturers would have data on this, but im too lazy to look it up because whatever site they have is probably a shitfest that i wouldn't be able to navigate easily.