Yes, like any spell, Eldritch Blast can be counterspelled if an enemy uses Counterspell at the time it is being cast.