Yes, but you will zero bias the photodiode if you do that. That may not matter to you, but it increases capacitance and reduces speed. However, for some large area photodiodes it is the only way to avoid high leakage currents.
Yes I need zero leakage current.. so I need no bias on the photodiode. Thanks
- - - Updated - - -
What do you think of the reed relay for a dual gain transimpedance amplifier. (2 resistor in parallel, and the second smaller resistor as a reed relay in series)
My concern about using relays would be the problems of stray pickup. However, while I haven't used those relays in a transimpedance amplifier, I have used them for gain switching high impedance circuits with good results.