It's very possible and not that difficult to do. Lighting is part of 3D animation 101 and the larger effects houses have an entire light team that do nothing but set up the lighting in 3D scene to match the lighting of any live action or real locations used. In the 3D environment they can set the placement and the direction the lights are facing, the kinds of light, color temp, brightness, etc. I wouldn't be surprised if they have presets for specific makes and models of lights
The only tricky thing might be the reflections, but they can probably map the live action footage to the 3D model. The only real limitation is time and money, the tools are there and so are the capabilities.