Okla. Stat. tit. 15, § 102
The object of a contract must be lawful when the contract is made, and possible and ascertainable by the time this contract is to be performed.
R.L. 1910, § 922.