Are pacemakers made of metal?

Yes. Yes they have metal casings and electronic insides.
Yes. Yes. The outer casing is usually titanium. The inner computer circuit probably contains small amounts of silver.