This is actually an excellent, unsettled legal question. On the one hand, the Constitution provides almost no restrictions on pardons. On the other hand, there's a strong argument for precluding self-pardons based on the principle that "no man shall be the judge of his own case", despite no such principle being expressly expounded in the Constitution.