Is there another state similar to the Mamluks, where the succession was mostly not based on family ties but on chosen successors?
Are you actually asking if states have had monarchs that have picked their successor?
>>3295245
I mean ones where hereditary succession was almost never the case and remained so for a long period of time
>>3295262
Polish-Lithuanian commonwealth fits your parameters. Elective monarchy.
>>3297118
What about ones that weren't elective?
>>3297191
Tons of Romans emperors adopted heirs. Trajan only became emperor cause the old emperor was unpopular and the army bullied him into adopting him.
>>3295135
HRE was technically an elective monarchy and had a lot of unrelated successors until the Habsburgs took over the whole show.