It is neither against the signal software’s license, nor it is against the signal service’s terms of service.
This is a false meme spread because the Signal founder (who is no longer with the company) didn’t like people making forks without changing the API server URL and running their own servers.
Open source software doesn’t work like that, however.
[1] https://molly.im/