In theory you can create your own rhythms patterns using the drum kits, save them to a MIDI track and then loop the track. According to manual and the specifications of the 560M this seems to be possible. But in practice you will be unable to do this properly. As discussed in several other threads in this forum, the 560M has a lot of features that at first sound very promising, but many of those end up either being poorly implemented or at least not being implemented as expected. I still have some hope that CASIO wants to retain its customers and releases firmware updates that address some of the issues of what could be a very good keyboard. The codebase for many of those updates is already available in other CASIO keyboard models, such as the MZ-X500.
Anyway, and regarding your specific question: the track/MIDI player has a loop function. But the loop function introduces a short "pause" between the end of the track and before looping the track back from the beginning. And to make matters worse, the length of this pause is inconsistent, so you cannot even work around it. As a result, you will be unable to create seamless loops/repeating patterns using the MIDI player. A somewhat similar bug exists in the metronome as it produces an inconsistent pause between beats every once in a while if you leave it running long enough. I have reported these issues (and others) to CASIO months ago.
The second issue is that the 560 has no such thing as MIDI sequencer/editor but just a basic MIDI recorder. So, features such as copying and pasting are not available. So, the only option you have left on the 560 is to record the complete drum track using the MIDI recorder. The realistic option is to use a proper MIDI editor on a computer to create the drum track (remember that the loop function does not work properly so you would need the full drum track).