Sure!  We like the jar method because it makes for one less dish to wash, but you can absolutely use a blender instead.  The one bonus about using a blender is that you don’t need to finely mince the garlic.  Just add everything besides the oil, then slowly stream the oil in while mixing on medium low speed until completely smooth and creamy.