In Maya You can bake the lights and camera positions.
Its hard to get it to work, here it is if you want to give it a go
https://forums.creativecow.net/cgi-bin/new_page_wrapper.cgi?forumid=1&page=https://www.creativecow.net/articles/delafuente_rene/maya_cam_imp/index.html
There is a 3rd party add on in after effects called ‘3d assistant’which can do basic 3d stuff. google this.
jools