Yep, absolutely. Here's a quick example:
final int abTitleId = getResources().getIdentifier("action_bar_title", "id", "android");
final TextView abTitle = (TextView) findViewById(abTitleId);
abTitle.setCompoundDrawablesWithIntrinsicBounds(R.drawable.your_icon, 0, 0, 0);