You asked:

is nail polish a substance

Yes. A nail varnish is a substance.
nail varnish
nail varnish
nail varnish