A Licentious Lannister?

Actor Nikolaj Koster-Waldau is far better than Jaime Lannister, the character he plays on Game of Thrones. But he is sometimes criticized for portraying a character that normalizes depraved behavior. Which raises the question: is it immoral to produce fiction that represents bad behavior people might emulate?