I definitely don't know enough to say either way. On the one hand, general contract law seems to say that the terms of a contract can be pretty much anything as long as it's not ambiguous or grossly unfair. On the other, some real lawyers even have doubts about the enforceability of some widely used software licenses. So I could see it going either way.