Ammonium nitrate can be made into nitric acid, the problem is can can be very dangerous, it can form an explosive mix with heat, many of the metals we refine can also become explosive compounds with ammonium compounds, if making nitric with ammonium nitrate is not done properly it can be dangerous, with this in mind I strongly suggest using sodium or potassium nitrate instead.
Even storing this fertilizer can be dangerous if not stored properly.