Gradient bump map texture

Is it possible to create a material/texture with a surface that gradually turns from smooth to rugged? Like changing from the smoothest sandpaper to the roughest possible within the same sheet :slight_smile: