Can I control my IPhone on another IPhone or device?

I've got an old IPhone 6S that is smashed and the touch screen is very dodgy, I've got some important documents on an app but I can't get into the app because when I try to type the password, the touch screen is broken in parts of the screen so I can't type the password, is there a way around this without paying for a screen replacement?

Oh

No

On an iPhone no, if you'd had an android with an OTG USB socket you could have attached an keyboard with touch pad and done it that way! If it's been a Sammy then you could have then screenshared to a compatible device wirelessly…