Not really, because the density varies already through thermal expansion.
But as there actually isn't any universal and exact definition for the difference of solid vs. liquid, you might consider that Carbon $C$ and Helium $He$ as such a substances. This thought can be reasoned from their abnormal triple points. For Carbon there practically isn't a liquid form, and for Helium there isn't solid form. (which is stable in low pressure)
The Mineral stability diagram (P-T diagram) of the system C (= Carbon) looks like this;
This study from 2015 summarizes this problematic quite good.
And the P-T diagram for HE-4 to comparison.
Another approach to the issue can be made through Bingham-plastic materials, which are either solid or liquid depending on the shear stress. This short of concludes, that the whole question is a problem in classical physics, because the modern physics hasn't just defined this question yet.
I have personally made some attempt to answer this question, and to define the phase transitions from the speed of light. This hypothesis found also support from observations.