In Oklahoma, a law to bankrupt groups that organize political protests

But my point is that if something is legal when it is not a protest, combining it with a protest makes Constitutionally protected speech (or petition) into something illegal – in effect the violation is not the action but the protected speech.

That is something that has a very long history and none of it favorable to the laws in question.