Is it OK to use Engine.get_process_frames as a Timer?

This is a classic example of the XY Problem.

You might benefit from reading this: