Only if the language/compiler/interpreter/whatever converts it from tail recursive to an iterative loop (which is often done in-place by modifying and reusing the existing stack frame for the next call), which can be done algorithmically since the conversion to a while(TRUE) loop with embedded return is straightforward.There is a concept called tail recursion, where the implicit stack is not required and so stack capacity is not an issue.
https://www.geeksforgeeks.org/tail-recursion/
Unfortunately, there is no general algorithm to do this conversion for arbitrary recursive algorithms.
