Spatial audio changing depending on camera angle

Is it possible to have spatial audio work on a first person 3d game? i want to make so that the position of the sound changes depending on the direction you’re looking at. For example, if you’re on the right side of the spatial sound location, you’d be hearing it on the right side of your headphones, but if you turn around to face another direction, the sound should change, but it remains playing only on the right side.
I’m working on a first person horror game and sound is a big part of it, especially to tell the direction from which threats are coming from. Is there a way to change the listener position based on camera angle?