OPTI uses cameras looking at the ground to determine movement. Bad lighting can cause it to misinterpret movements and think it is moving when it is not. If it thinks it's moving it will try to correct that "movement" by tilting the other way, which should stop the movement. But it wasn't actually moving, so now it is, towards some obstacle.
Same with GPS, reception indoors will be poor so instead of giving a nice stable position it may jump all over the place. The aircraft will think it's moving and try to correct for that.
You won't have proper control becasue all you do with the sticks in P mode is tell it a ground speed and direction you want it to move at, but it's confused to what it's doing already so won't respond properly to that.
Just put your phone on a table with google maps open in a place with poor reception and look at how it shows you moving around (or Pokemon go, some people are using that inaccuracy to count walked distance...)
As said yes it may/will work most of the time. But it WILL fail to work fine occasionally, and many people have crashed before becasue of that so just be aware of it and don't come crying when it happens