Nah, because it’s not being digested, therefore not stimulating gastric juices, so you’re still fasting.
Soft dry fast - coming into contact with water, brushing teeth, showering, bathing etc
Hard dry fast - zero water contact
same with vaseline hahahah but always forgot to ask
if you can, i would suggest that you dont use it because there’s always particles that are in contact with what you swallow and my belief is that it’s counter productive, maybe I’d risk to say that’s even maybe worse than brushing the teeth with water