No, that is not legal. Your definition of y and r require a BIT STRING value and a REAL value, respectively. x is an OCTET STRING value (it is not the lexical string "'ABCD'H") and i is an INTEGER value (it is not the lexical string "10").
You can refer to X.680 16.2 and Appendix C for more info. 16.2 requires:
The value being assigned to the "valuereference" in the "ValueAssignment" is "Value", and is governed by "Type" and shall be a notation for a value of the type defined by "Type" (as specified in 16.3).
Appendix C discusses type compatibility.