It's fiction ... The writer can do pretty much whatever they want.
In fiction, it's not okay for the so-called protagonists to tell their allies who happen to be from a different race/species that they're inferior to them (even matter-of-factly), is it? And, no, the "protagonists" never learn not to do so!
Certainly. Fictional characters can have any traits the author assigns to them. A good story usually has some mix of lovable characters and unlikeable ones as well.