Need help making a voxel shader

is it possible to make a voxel mesher like if any mesh in scene exists you run it you preview the model but then its voxelized like it would make the mesh voxelish and it be blocky, about like something that’s like a converter.

or maybe a shader

Any help please