This pedal seems to have what you're looking for... a few demos on youtube.
The MOOER GROOVE LOOP X2
https://www.mooeraudio.com/product/G...op-x2-244.html
I have an older BOSS RC20XL that had some pre-loaded drum patterns in loop-slots that are not very good, so I "wrote" over them. I may also look into this MOOER pedal for that rhythm feature as well.