Yes, use an anti-sieze compound on stainless-steel bolt-threads in stainless-steel nuts.

This is especially important when the bolt & nut are the same grade/type of stainless.