You can, but it’s pretty painful.
See the Server-side testing without a login section on this blog post: Full-stack development in Project IDX
And this comment: Can't test Stripe with IDX since there is a redirect on the public URLs IDX uses - #2 by Vova