Is it OK to have two OnApplicationQuit functions in a scene?

Is it OK to have two OnApplicationQuit() functions (but in two different .cs files on two different game objects) in a scene?

No problem. Because one of the two will not operate simultaneously.