Being loved conditionally by your partner is OK, as long at the conditions are those that you are willing to fulfill out of free choice.
Being loved conditional has a very thin line to coercive control, though, and this gets easily into abusive territory.