Yes, that is OK. The address 0.0.0.0 just means that the process binds to all available interfaces at once instead of a specific one. In other words it exposes the service to the internet, which is what you want since other nodes should be able to connect to yours.
If, on the other hand, you are running something that should not normally be reachable by the whole world, you would bind to 127.0.0.1 or some interface on the local network. I do this for things like cardano-rt-view or grafana and set up tunnels from the machines that need to access these services.