Loose lid and 55 gallon barrel with no insulation- good luck with holding heat. You might as well go pee against the wind, it would be about as useful.
Water evaporates and takes heat with it. Raise the temp of water and the rate of evaporation increases. Without a sealed insulated lid, good luck.
Paint the barrel black, let it sit in the sun. It will work much better. I guess I'm just an old guy that learned a few things along the way.
Or use the electric power to run a pump that circulates water thru a 50 foot black hose to and from the tank. I have a water tank on the work truck with a short hose. I use it washing my hands and cleaning heat exchangers. The water in the hose is always nice if the sun is out.
The issue is there is not anything safety related in place if an electric hot water heater is used. If there isn't any hot water use over several days, the tank temp will increase each day as hot water heaters do not lose heat very fast. There has to not only be a system in place to control temp but also pressure. As temp rises, pressure will increase until a point of criticality is hit.
I already stated what I thought about using a 55 gallon uninsulated open lid barrel.
Safety comes first, regardless. It can be simple and safe.