As I understand it, you need the following things:
1a) An adjustable high current DC POWER SUPPLY rated 20 volts, 5 or more amps
OR
1b) a variac transformer and an old school magnetic battery charger (no electronics, no smart/auto mode, just 20 amps continous
2) A programmable / adjustable signal generator, home made based on a 555 chip or an old benchtop unit from e-bay
3) A high current DC solid state relay / switch
4) Several multi meters to monitor voltages and currents
5) Optionally an oscilloscope to fine-tune the pulses
Unaided, a battery charger will never deliver a high enough voltage despite however many amps it is rated for. Using a dumb old-school magnetic charger, the variac will let you dial up the input voltage and that will dial up the output voltage into the 16-18 volt range.
In simple terms, you dial up 16-18 volts and hammer the battery with high current yet short duty cycle bursts of electricty. The idea is to break down (burn up) the crystal bridges that are shorting the plates in the cells. This procedure is called de-sulfating the battery.
There's a whole lot of noise on the internet about de-sulfating "ruined" batteries, and some folks seem to have success with it.
2013 KZ Sportsmen Classic 200, 20 ft TT
2020 RAM 1500, 5.7 4x4, 8 speed