Yes. Two or more neodymium magnets stacked together will exhibit the same strength as a single magnet of combined sizes. For example, if two 5mm magnets were used to build a 10mm magnet, the two magnets will have the same strength and behave identically to a 10mm magnet even though it is a construction of two 5mm magnets.