Totally unsuitable for spot welding, you need current not voltage in buckets full. A capacitor discharged into the two electrodes sounds plausible but you need a capacitor that will handle a large amount of current without destroying itself.
The prameter you should look for is called the ripple current this has to be greater than the discharge current. Such capacitors are very large, expensive and hard to find.