Wall decor over crib?

I’m making a sign with his name on it to hang up in his room, and I really want to put it on the wall that will be behind the crib. I read somewhere that you shouldn’t do that, but I feel like I’ve seen lots of pictures where there’s stuff hanging up on the wall with the crib on it??? Anybody have any insight?