Yes. From time to time, we all inhale a bit of ash, and that little bit shouldn’t be problematic (other than the gross flavour). However, ultimately ash is highly carcinogenic, so it’s best to keep it out of your body.