Question: can any uchiha get the rinnegan?
Answer: For any human being to be able to activate Rinnegan, they need both the Uchiha and Senju DNA. Uchiha Madara, in the last days of his life, was able to activate it, as he already had the Eternal Mangekyo and Hashirama's cells (Senju DNA), making him similar to the Sage.