Toggle Freelook in first person

I’m trying to make it so that if you hold Alt your character can look around without moving their body, and then snap back to the forward position when it is released. How would you do this? I’m considering using two cameras and having it toggle between them, but I’d prefer a cleaner option.