Toddler using my pillow?

Yesenia

I have a quick question - my son (18 months) has been sleeping with a training pillow since he was 12 months old. Recently he’s been waking up a lot in the middle of the night so I bring him to my bed where he then takes over my pillow and kicks me off. So yesterday night when he woke up in the middle of the night, instead of taking him to our bed I just gave him my pillow and he settled right down and went back to sleep! Is this okay? My pillow is pretty thin so I don’t think it would be a suffocation hazard, but I wanted another opinion 😅