You’re talking about Wick Rotation. So yes .
Thanks. Now I know the name for that.
Though the covention of using an imaginary time coordinatde (infact it was the original convention used by Minkowski when he first introduced the concept of spacetime) pre-dates Wick rotation and had fallen out of favour by the time Wick revived for purely practical reasons