Some math problems there since you then have to calculate how much hydrogen the thing delivers but a very good idea since it means more cargo space for the freighter, as well as being safer - well, as safe as you can get barring combat damage that leaves several dTons of water on the floor of your cargo hold, but it beats several dTons of a cryogenic fluid freezing everything as it boils and mixing with air to create a potentially explosive mix. I'd prefer water as being both easier to get and less dangerous than ammonia.