Not as an "animal companion," because Drakes aren't Beasts
Drakes, though animal like in appearance and behavior, have the creature type of dragon, not beast. And the Ranger's Companion states:
Choose a beast that is no larger than Medium and that has a challenge rating of 1/4 or lower (PHB, p. 93 bold added).
"Beast" is not just a descriptive word here, it is a creature type (see Monster Manual page 6) that applies to some creatures and not others. If a creature is a beast, it will say so in its stat block (right under its name, right after its size).
There are some interesting examples of intimidating (read: awesome) creatures that are 1/4 CR beasts: a pteranodon springs to mind. But drakes are not beasts, so they would not be eligible as a Beast Master Ranger's Companion (even if a CR 1/4 one existed in some published adventure).
The new Drakewarden ranger type will give you a Drake companion
As of October 2021 (almost exactly three years after this question was asked), a new Ranger subclass has been published (in the book Fizban's Treasury of Dragons) called the Drakewarden. This class grants the Ranger the ability to summon a Drake companion at 3rd level. The statistics for said drake can be found in source book mentioned above. This subclass is worth looking into if you are invested in a drake as your companion, since (as mentioned before) the Beastmaster Ranger cannot have drakes as their companions.