Can a candidate lose the popular vote and still win the Electoral College, making them President?

Yes, it has happened on a number of occasions.

#EXE190