Undercover LEO do NOT have to admit they are cops, they can lie to you, AND they can use drugs. They generally won't admit to using drugs because it doesn't go over too well in front of a jury but they can use them. Most will try not to use and they will use any means at their disposal to appear that they are ingesting when they are not.