Has anyone else had this?

Every morning for the past week or two, I’ve am coughing up white mucus “boogers” when I wake up. It’s only when I wake up because I’m so congested when I wake up. Has any else done this? Could it be because I sleep with my mouth open and I also have always has a problem with drainage with my nose as well