The iMac G3 has only one IDE connector on the motherboard, (Primary IDE.) So you can only address one master and slave.
If there was a way to hack a Secondary IDE connector to the motherboard, then you could address two masters and slaves.
If there was a way to hack a Secondary IDE connector to the motherboard, then you could address two masters and slaves.