While sautéing is a form of frying, you can definitely also fry the garlic in slightly deeper oil - this is especially good if you cut it into slices, and works excellently when making aglio e olio pasta.