Using 2D / 3D textures with volumetrics?
Sure you can use 2D/3D textures with volumetrics.

All procedural cycles textures will be 3D and you can use them for example like this:



Or you can just project 2D textures on your mesh too, this is the same cube with some mask: