only one breast for feeding

Is it okay to choose to only feed my baby on one side and pump the other side? I've been doing both breasts but my left side nipple is really raw and it hurts when she's on it so until it heals I wanted to only feed on one side?