How to restart using an app without it accessing older data?
It depends on how the app was made. The way you describe it, it sounds like the app uses Apple's DeviceCheck to ensure that it can only be trialed once.
If that is the case, then you cannot as a user reset the data - not even by completely resetting your phone.