No, adding sugar will not fix bitter pesto. You might think that adding a sweet element to a bitter pesto will balance out that bitterness. This is not the case. What will happen is your pesto will taste sweet on the tongue initially before turning bitter.