Yes, they make this when they make the original loco. You can't add this later if you don't have the source file for the model, that is, if you are not the original author.
When the engine is built it has to already come that way with opening doors and windows, if not there's no way to make the windows and doors open since there is no possible way unless you are the 3d developer of that engine.
Jonathan Burton Peters Jr, Big J
The Legend Of The New York Central System Shall Live Again In TS2021.