Momma question

Can I have a heating blanket on my bed , and my little one still sleep with me ? It wouldn’t be on him but it would be on the bed