Welcome to icliniq.com.
Theoretically, yes. But, practically I would not suggest you get it done as you will not be comfortable (mainly because of the water spray from the handpiece or drilling machine) and that will make it difficult for the dentist too. If it is an emergency or you do not have accompanying stuffed nose or difficulty in breathing through the nose, then you can go for filling. Depends on your comfort level and severity of your condition. I hope this has helped.