Probably, but it is not guaranteed. GameCam-style third-party camera and recording accessories were built for the Xbox generation that Star Wars: Knights of the Old Republic II launched on, so in principle the hardware is compatible.
The catch is that support varied between titles and between accessory revisions. If you already own one, plug it in and launch the game to confirm rather than relying on the box.
If it does not cooperate, check whether your console has any system-level recording option instead. That tends to be the more reliable route.