Short answer, yes and no, lol. To absolutely answer the question, its a no.
What the chipset/board/bios supports is the main thing. Some boards support faster ram than others for example. While it's all ddr4, all ddr4 may not work on all boards that support it... if that makes sense.
Will you be more specific? Is there a board and some sticks and you want to know of they are compatible? Does this have to do with your thread on troubleshooting the new system?