How do i make a character walk like a prop

Sorry for weird title i didn’t know what to write. But i wanna make a character walk like randomly shown here.
km_20220904_480p

It seems to be rolling but it can roll 360° like if it’s a coca cola can or a book etc.
My character is standing upright always. Help.

you can create a custom rig and animate it