How to control draw order in _draw()

Godot Version

Godot 4.2.2

Question

I have a sprite with a script and the _draw() function where I draw a point, but this point is located behind the sprite and is not visible, is it possible to somehow control the drawing order using code so that the point is above the sprite?

Canvas Layer?

No, not this.

You can try to manage z-orders and it should work.
But it is easier to add a CanvasItem node (or node that inherits CanvasItem) after the sprite node and override its _draw() function.
Here is an excellent answer to a similar question.