That would depend on the environment and the application. Will moisture be present? Galvanic corrosion will happen with practically any metal pair, and you can't avoid mix-n-match in many applications. (Steel studs in an alloy head, fr'instance.) Will you need to take the pieces apart some time in the future? Is appearance critical? (too many questions....)
What sort of thing are you making?
-- Jeff R.