Not by levelling up in the ordinary sense — friendship is the deciding factor.
Eevee has to gain a level at night, and its friendship toward you must be high enough at that moment. Get both right and it becomes Umbreon; level it during the day instead and you get Espeon.