Pathfinder 2E - Initiative rules question.

Let's say I am playing a stealthly sniper with investigator's devise a stratagem, or similar effect that can be used without breaking stealth.

If I sneak up on someone, can I just stay hidden and keep using it until I am sure I will crit and then start combat?

ncG1vNJzZmivp6x7prrWqKmlnF6kv6h706GpnpmUqHyqusitoJqsmauybr7UpZysZaGqsrTAyKilZ25pan55hY4%3D