Yes, it is possible to earn a PhD in a field different from your undergraduate degree as long as you meet the requirements for the program.