Yes, but when you can donate depends on the type of hepatitis vaccination you've had.
Hepatitis B vaccine: You’ll need to wait two weeks before you donate. This also applies for combined hepatitis A and B vaccines.
Hepatitis A vaccine: It’s okay to donate straight away.