Yes cocaine can be orally ingested. I don't see the purpose though.
Personal example. I'm was on juvenile drug court. I snuck out to drink at around 1 2 3 AM. The next night I had to give a UA. I couldnt pee so I was given a saliva test at around 9PM. About a month later the results came back positive for nicotine