Yes a small battery could be a option.
1000watt / 48V =20,83A 36V 27,77A or 24V 41,66A
With actual battery technic possible, 100x NCR18650PF(3.7V 2.9A) 10s10p give 37V and 29A 1,073kwh, so you would discharge under 1C.
But the question is, how much cycles/day you would get, and how long you would puffer till shutdown.
Con the inverter costs extra, and also the battery charger maybe balancer. There are few diy power walls

@Phil to your solar idea, i think most time you would "only" get 90% of your max solar watt/panel. And if it drops because of the short? cloud it always fall down, and miner stops hard. Doesn't cool down, could be much cycles/day. Isn't it there where you are, you could get the same rate for solar, as from the grid? Even if only in short times of clouding, you could get lets say 30-60% power from solar, and the rest from grid. And after sun is down, stop mining. Or is it to much expensiver if grid is avaible? How long miners need for startup?
You can always incorporate a small battery pack for a bit of "ride through" capability; it's not like there are only two choices in solar: no battery or a massive battery. One caveat is that a small battery - say, under 1-2 kW-h of capacity - will need to be a lithium-ion type as they have much higher peak power output than lead-acid. Used battery modules from Chevy Volts, Nissan Leafs, Teslas, etc., are especially popular among the DIY solar crowd.