Congested baby

Vanessa

My 3month old is really congested & she has a cough & phlegm. If she’s laying flat she starts chocking & I’m co sleeping with her to have her more near, my question is if it’s okay if I lay her in a very soft pillow so she can be a little elevated?