The concept is called a 'nappuccino' — drinking a caffeinated beverage and then immediately taking a short nap.