Yes, it is possible to terminate an analysis by using termination criteria once a particular condition is satisfied. However, this feature is available in structural static or thermal transient/static analysis.
In the attached example, the analysis gets terminated once the displacement of the node exceeds 5 mm in the Y direction.