Electroplating reaction

In electroplating, can a galvanic cell substitute the direct current supply? The process is to change iron metal to a silver one, but a galvanic cell is connected to the two electrodes.


