First you need to know everything about camera tracking and match moving footage.
(https://www.google.com/search?source=hp&ei=h2T7WtPLK8S5kwWM2KnwDQ&q=matchmoving+and+camera+tracking&oq=match+moving+and+camera+tracking&gs_l=psy-ab.1.0.0i19k1j0i13i30i19k1l2j0i13i5i30i19k1j0i22i30i19k1.1864.1864.0.9392.1.1.0.0.0.0.70.70.1.1.0....0...1c.2.64.psy-ab..0.1.70....0.sEZhZqwTW2A)
You basically need to add colored points to your green screen studio so that you can track those points to get the exact movements of the physical camera, you then apply the data to your 3D scene camera so that you can render the 3D scene with the same movements and thus have footage matched.
After effects can import some 3D via the adobe PSD format but its all rudimentary.
You basically import some OBJ model in adobe photoshop and save it as PSD file in that case.
Element 3D a plugin for after effects provides more advanced 3D render capability but most would use a program like 3ds max or something of same level. (https://www.videocopilot.net/products/element2/)
If you have HTC VIVE VR setup you could use vive trackers to track a camera and use Unreal engine to simultaneously render the 3D scene and camera footage together.
To many options to talk about here just google it.