Urea contains nitrogen, just as ammonia does. Either can be used for introducing nitrogen to the aquarium. The problem will be determining titers, and determining the impact of the salts also excreted. In short, yes, you can, but it's really not the prefered method.