I've done exactly that for ios devices with arkit and without ar kit, but only for ios. Also you have to know that for iOS devices you can't use augmented reality if the device does not have truedepth camera. I can do it for android too. I can show you demo, pm me.