According to Osho, Krishna and Rama are not the same persons; they are distinct expressions of one energy: Vishnu, the sustaining life-force between creation (Brahma) and dissolution (Shiva). All avatars are descents of this Vishnu-energy, which also animates you—and even opponents like Ravana—manifesting uniquely according to time, context, and alignment.
They aren’t the same person, but the same life-energy shows up as Rama, as Krishna, and as you, in different ways.