Can a transgender person be a actor?

Yes they can. Being transgender is a matter of identity, and not of skill - there is nothing to stop a transgender person from being as successful in acting as any other person.