Yes, both sentences sound odd.
In the U.S. we say an actor is "typecast" in a particular role, meaning the actor is only offered roles similar to a previously played character. You could say...
I don't want to end up (or be) typecast as a gangster.
OR
I don't want to play gangsters anymore.
Another thing: I can't remember ever hearing a female being called a gangster. It usually refers to men in the Mafia or is said as an indication of respect for one's prowess, as in "You're such a gangster."
There are street gangs that have female membership. In this case, you would call the girl or woman a gang member. (There is, however, a gangster style, so a person can act or be "gangster," using the word as an adjective. "Look at you. You're so gangster!")