My kitten went through a phase from about 5-9 months old where he did that. Then it stopped. He mostly did it when the litter was fresh, but once in awhile, he did it when it wasn't so fresh. Your cat probably won't do it forever. A lot of times I just picked my cat up and moved him when he did it.
Our Rusty rolls around and plays in the litter box but only after a complete cleaning and box is all washed out and clean. He plays in it as I try to pour in the new litter. When I am done putting the litter in and him making a mess all over he is happy and won't do it till the next time I clean the box out real good. Rust is probably about 1 1/2 years old now.