Old bike shop method was give it a soak in the solvent tank, blow it out with a compressor (if there was one), dribble some Phil oil in there. Done.
A physical repack of a freewheel would have cost more than a new freewheel.
The solvent tank guy would come every so often and swap out your dirty solvent for new stuff.