You can choose not to restore the doll, by avoiding a certain room at the end - then Anlokam will stay in your group.

Sorry, don't know, if you get your skill pts back - I don't use dolls.