Pillow?

SD

I placed a pillow under my 20 month olds fitted sheet in her crib because she’s congested with a cough (tis the season 🙃) and I wanted her to be elevated - do you think that’ll be safe over night? I know they don’t recommend pillows til around 2 but felt like this was a good compromise with it being under the crib sheet.