The short answer is no—not on their own. Ultimately, it comes down to the parent to guide and influence their child.
Adults should be able to tell the difference between a piece of fictional entertainment and real life, and to help kids understand that same distinction. Media is one small factor among many, and responsible parenting plays a far bigger role in shaping behavior.