What will happen if we give x/z as an input to R/W' bit in I2C?

Can we give x/z as an input to R/W’ bit in I2C?

That is a very inconcise question. You can certainly give am x/z as an input to any design if your testbench is constructed with 4-state data types.

How any design behaves in response to an x/z input is very dependent on how it is modelled and what kind of analysis tools are being used.