No! The optical density of a medium is not the same as its physical density. The physical density of an object is directly proportional to its mass and inversely proportional to its volume. The optical density of a transparent medium is directly related to its refractive index.