I trained two of my cats to use the commode like that.
It's a step-by-step process that involves placing the litter box beside the toilet and then raising it up incrementally until it's at the level of the toilet seat. After that, you set a plastic container (with litter) inside the toilet. Not long after, your cat will be shitting on the commode like a champ.
