Not a technique I consider to be best practice, however, clinicians certainly use them in practice, favouring them over a safety plan, if not using them in isolation. What does the evidence say? Please follow the link below.

https://www.psychotherapynetworker.org/blog/details/1678/september-quandary-will-a-no-suicide-contract-help?sfns=mo