I suspect this is possible, but don’t know where to start. I think drivers might be the key. I want to animate EEVEE render visibility of 24 objects off when the object leaves the camera FOV and on the frame before it comes back into camera FOV. The reason I want to do this is to omit Principled BSDF calculation of materials, bounces etc when objects are outside the frame to shorten render time. NB: everything is inside a Torus if that factors into the answer. Thank you Blender geniuses!
I don't know how to do it automatically but you can do it manually. Just toggle the render visibility icon (looks like a camera) in the outliner on and off then press "i" while hovering over the icon. It will add a keyframe. Forgot to add, you may have to turn on the icon in the latest 2.8 builds with the drop down menu in the outliner that looks kind of like a triangle.