“When you feed your aquarium food the proteins, nucleotides etc. will be broken down by living organisms and the majority of the nitrogen will be released as ammonia.”
Your assertion is inaccurate.
Proteins released in the environment are rapidly hydrolyzed, especially by bacterial enzymes, which releases the amino acids those proteins were composed of. The majority of those amino acids are then rapidly assimilated by bacteria in the environment, not converted to ammonia.
Dissolved organic nitrogen (DON) supports a significant amount of heterotrophic production in the ocean. Yet, to date, the identity and diversity of microbial groups that transform DON are not well understood. To better understand the organisms responsible for transforming high molecular weight...
www.nature.com
Secondly, research I have read indicates that the zooxanthellae in corals require as little as 0.2 micromoles per liter of ammonium in order to be maintained. That is 3.6 x 10^-6 gm/liter, an incredibly small amount. Adding amounts of ammonia significantly above that level may cause blooms of bacteria and/or phytoplankton, including eutrophic and/or pathogenic organisms. One study did show benefit at twice the above level of ammonia (0.4 uM/L), but you may need an analytical scale to measure the quantities required & will need to maintain high alkalinity as well.
FWIW, while it is known that corals/symbionts consume ammonia during daylight, they also release it at night.
As for me, for nitrogen dosing I’ll stick to amino acids, which feed bacteria, which also feed corals.