Photoshop doesn't know what's in the image, it can't "see". It only works with RGB numbers. Any automatic selection method is based on differences in RGB numbers. So you can see there's no straightforward auto method to do this.
I'd start with Select > Color Range. You'll need to make several selections based on different tonal ranges, and use one selection to clean up another. There's no other way.
Finally, all values that are darker than the flat background are unusable for selection, because of the shadows. That has to be cleaned up manually, by painting in the mask.
This is painstakingly slow work. Next time, shoot against a contrasting background.
You may want to put a temporary Curves layer on top to help with the manual painting.