This is most likely just because the app has the secure display flag set, not any OS limitation. It's a feature of android
I assume in the case of apps trying to protect copyrighted content, the answer is likely "yes but the app might check its own signature and exit if it's not valid, which it won't be at that point, so you'd also need to rip that out, which makes the job way harder."