Old robot not working on rechargeable batteries due to low voltage

No, and no.

I'm not sure if the reqired voltage is 3x1.5 or 6x1.5 since it has 3 batteries in each leg.

Post a picture that includes the wiring or carefully trace it yourself.

If the battery holder is center tapped or in parallel, then you will probably have to add a cell to each side.