Is it possible to use the phone motion controls in the Motion Controller component?

I was trying to replicate the AR Template motion controls, but without the use of the camera, because i am already using it with one pluggin in my project and that would disable it if i start an ar session. So i’m stuck trying to replicate it with the funcion InputMotionState form the player controller. Is it any tutorial on how to use that function properly or is there any way to use the motion controller component by referencing the phone has a motion controller?