Can div and span tags behave exactly the same (by means of display)?

Yes, it’s invalid. Another good reason not to do that.