Latest mobile OS versions (Android 12, iOS 14/15) have this feature that whenever the camera and/or the mic is accessed by an app, an indicator light turns on in the status bar of the device. At least now you can see, when apps are up to no good.
When the Instagram app is in the background, it shouldn't access the camera, that's for sure.