In procreate you can create palette from photo, but not from screen outside app.
We will add similar option soon
It is not possible to sample outside app for a simple reason. As sampling color needs access to pixels, it is like reading content. Lets say you have Notes app open with all your passwords. Would you give access to it to app from the App Store?