Bake Camera and rail rig

Hey guys, this has probably been asked a lot but here we go. Is it possible to bake out a camera animation with a rail rig? I want to be able to export it from unreal to another 3d package but I want the camera animation baked with the rail rig, so I can use the camera and the smooth rail movement . thanks for your help