Camera controller question

Hi all, this is my first post here so if it’s in the wrong section I apologize.
my question is basically, is it possible to use input from a camera as a controller?
Here’s the setup, I’m working on a concept for a game that is basically a first person shooter except that instead of a standard controller I want to project the game onto a backdrop and use a laser pointer to fire at targets.
Is it possible to use a camera to “spot” the laser and use that input in the game?
Any input is appreciated.