Of you are talking density of a liquid, then maybe. Otherwise, not that I know of. Density was commonly done with a pycnometer or similar device. There is a device on the market ( or at least, there was), that was a tube in a kind of shape that you could "ring". They would measure the ringing frequency empty and with the unknown liquid ( in hertz). Then with some math, transform that to density. That's the Only thing I'm aware of.