Is it okay to change a character’s race or gender in historical or myth-based films?

Is it okay to change a character’s race or gender in historical or myth-based films?
Post Opinion