You cannot freely play as Yuffie in Kingdom Hearts II. You can talk to her, fight alongside her during certain sequences, and battle against her, but she is not a permanent playable character.