I highly doubt that’s even theoretically possible, given the vast range of variety and quality of music created by humans.
You could maybe make the argument for distinguishing between a human and a machine playing a piece of music.
But if I write a song that just goes A, D, C, G on a loop (plenty of songs like that), how would you determine that a machine song that goes A, D, G, C is not human written?