Can the router reprogram to become a end devices remotelly without using xctu?

If it’s an S2C, then yes. You can send a remote AT command to change the SM setting.

If it’s an S2B, then no. The firmware must be updated via XCTU.