Typecasting is a very real thing, although the effects don't always have to be so all-encompassing that they define an actor's entire career.
Chris Evans famously turned down the role of Captain America twice for fears of being pigeonholed as a stoic action hero, and while his time as part of the Marvel Cinematic Universe will always be what he's best remembered for, it hasn't slowed down his career advancement in the slightest, and if anything the increased profile that came with being the leader of the Avengers has given him more creative freedom than ever.
On the flip-side of that coin, talents that tend to build either their names or reputations in more action-orientated or comedic content are a lot more prone to falling victim to being typecast as one-note macho meatheads or idiot sidekicks. For example, Sylvester Stallone may have two Academy Award nominations for his acting, but he's still best known for blood, bullets and octane, although he did always suck at comedy.
The point is, there are countless actors and actresses that are happy to keep repeating the same thing over and over again to the exact same results, and all that it managed to accomplish is leaving their career feeling staler than a two week-old loaf of bread.
I don't do social media, so like or follow me in person but please maintain a safe distance or the authorities will be notified. Don't snap me though, I'll probably break. I was once labelled a misogynist on this very site in a twenty paragraph-long rant for daring to speak ill of the Twilight franchise. I stand by what I said, it's crap.