No, you can't remove yourself from another person's will (you do not have any say over what they put into their will), but also cannot be made to inherit anything against your wishes. You have the right to disclaim, or refuse, any inheritance in whole or in part, and whatever you disclaim will then be divided up amongst the other heirs. Or you could accept the property and donate it to charity.