Is it possible to change the texture of a camera's render target at byte array level dynamically?

What i want - is to change dynamically the texture at every tick from c++ code. Not to draw overlays and that kind of rendering but to literally change the texture at pixels level at every tick? To be able to change the texture dynamically of the viewport that is presented to the user during the game.
Could someone help me?

Thank you kindly.