Yes. And that’s frequently done when an LLC has more than one member. Often a buy-sell agreement is formed and spelled out in the LLC’s operating agreement.