Might be worthwhile for solo-miners, but it depends on the price you pay for electricity (plus the BTC price and fees of course).
For example, in some countries, you cannot sell back electricity that you generate "for free" with solar, or only at very very low rates.
I personally went through the hassle of setting up a BTC full node, but that was really only out of interest and "enjoyment" as full nodes don't earn anything.
I plan to add solar to our roof in the next few years, and if until then there's a simple miner that generates a lot of heat but little noise, I might do that with excess electricity. But I'd really need a simple, low maintenance solution.
"Semper paratus!"
My BTC Address: 1F11EJvSAab5vMQgGWGQMASr9T7LCkZjvb