Salesforce (and therefore Heroku) HQ are in CA, so it would seem that they can implement these kinds of trade-restrictive practices, however not across state lines.
Would US Fed gov, have a say in this (same about Netflix and Disney saying that they will not produce their films in Georgia now).