Nasal polyps possibly causing anxiety attacks?

For the past few years, I’ve had a hard time fully breathing through my nose due to nasal polyps. Around the same time this started, i also started getting what i think are anxiety attacks, where it gets kinda hard to breathe, i start to feel dizzy and lightheaded, and i have to take a walk or something to get it to go away. Could these two things be related? Could my brain be going into a sort of panic mode at times because i can’t fully breathe properly? Has anyone else experienced this?