On iOS this is possible through management profiles. People use these as parental control apps:
For example: https://apps.apple.com/us/app/parental-control-app-ourpact/i...
This even allows you to live view a screen.
Apple doesn’t really tell you that you have a management profile setup.