Need advice, how to automate iOS settings on the real device/

The project, The user can install by URL the certificate to iOS device and in the device in the General settings -> Device Managment, He has owner certificate and his profile(not provision). Also from our service he can manage device, for example turn off camera and through several minutes you couldn’t`t use camera.
Also he can use different profiles with different restrictions.

Test: Need to make sure that profile with different restrictions which he made on WEB site and sent to the iOS device, applied on the device.

From GUI on the device, you can see this restrictions in the Settings -> General -> Device Management -> Certificate -> Restrictions.

I need to automate the device settings not the app.
Who has the experience with such case?
Is it possible do with appium or xctest or other frameworks?
To use appium, it needs app for run.