I was in a game run by my partner for a year where I played a droid mechanic. Throughout that year I became quite intrigued with how droids would perceive the idea of personhood. Were a droid to get the programming quirk that they wanted to become a person, how would they go about it.
There are very few droids in Star Wars that have achieved personhood in my opinion. Off the top of my head I would say maybe IG-88, C3PO, R2D2, or HK-47.
My thoughts are to introduce a droid as a quest giver to the party. This droid has a simple request. They want to have a child. They want to give birth. This will result in the party helping the droid to clear out and reactivate an old abandoned droid factory (a very small one), for the droid to have their "children".
Ultimately, I want to build the Droid into a main villian that does horrible things in a misguided quest for personhood. One idea I have, once they have their small army of children, is to become obsessed with skin, and end up like Necron flayed ones.
Any other ideas?