It's the way to do. But it's recommended to actually have 2 textures:
[1 frame] Render to (texture 1) and "forget" about it. Render your scene using (texture 2)
[2 frame] Swap textures. So render to (texture 2) and render you scene using (texture 1).
[3 frame] see frame 1

This way you let your GPU/driver more possibility to avoid "locking" in single frame.