This is possible and relatively easy for Apple to do: for most (if not all) permissions, a declaration that you intend to ask for permission is required in the app's Info.plist manifest file.
When permission is requested and you've forgotten to declare that your app asks for it, the permission will be immediately denied without prompting the user.