Every conceivable agreement, written and unwritten, is enforceable in a court of law. By your rationale, this justifies gatekeeping every form of human interaction.
You are still wrong though :)
Gambling contracts are legal in a lot of states. They are also generally not enforceable through courts.
If my argument is tautological (I think not), yours is just factually wrong :)