Sora does become a Heartless temporarily in Kingdom Hearts, but he is later restored by Kairi. So while he is transformed, it is not a permanent turn to evil, and his normal self returns.