It may be legally valid within the established system when the bank uses its approved authentication methods, but clicking on an OTP does not mean that signing any document is equivalent to signing it.
Read the transaction name and terms before confirming and keep an electronic copy.