I’m not a lawyer and I don’t even play one on the internet, but I doubt it would work.
During the Obama years Arizona tried to enforce the immigration laws - because Obama wouldn’t.
It didn’t work. SCOTUS ruled that immigration was a federal policy, not a state policy.
While it may not work in OK, it is bringing the issue up. I am astounded that in the 40+ years of dealing with illegal immigration, we have not yet fixed this obvious loophole.
People who are born here should become US citizens only if neither parent is here illegally. If the parents are here temporarily (tourist, student, or work visa), no US citizenship. If the parents have permanent residence or green cards, their children become US citizens along with the parents, or on their own after they turn 23 (18 + 5 years) after meeting criteria such as not being convicted of a crime, etc.