Hi Marcin, yes. The DNG profile format allows tables to be "3D", i.e., lightness-dependent.
However, the DNG Profile Editor currently only produces 2.5D tables (i.e., 2D input, 3D output). This is essentially a "flat" table. This is a limitation of the editor, not the profile or format.