There is yes. But Messages would presumably be preinstalled. In that case the EU would have a problem with it most likely.
If it weren‘t preinstalled. We‘ll then it‘s pretty much Signal for example and that doesn‘t solve the problem. iMessage works because it‘s preinstalled and default.
It‘s a miracle and kind of ironic that SMS being non-free drove the whole world (except the US where it was) away from it.