IIRC this used to be a thing on older versions of Android (Ice Cream Sandwich, etc.) but they restricted it to media only in later versions for security reasons.
Yes. It seems that MIUI has this feature disabled (at least, I can't find it), though I think there's a developer option about that. Anyways, I'm thinking of installing a custom rom because MIUI is cool but has a lot of problems. I'll update if I find the developer option I was talking about.