So yes you can write into the userprofile values like
adobe.target.trackEvent({ mbox: 'carttotal_track', params: { 'profile.carttotal_morethan100': 'true' } });
How Do I Use the adobe.target.trackEvent() Function?
Which I don't think works directly if you just put in the value of the cart - because that is evaluated as a string and no greater than works there (as far as I know). But you can also write values like 95 or 102 and use a UserProfileScript to read it and convert it to a number - compare it and set the new value true or false as another variable.