perilously vs dangerously

Hello,

Is it possible to use the word dangerously instead of perilously in the following sentence from NY Times:

Across the nation, a rising irritation with public employee unions is palpable, as a wounded economy has blown gaping holes in state, city and town budgets, and revealed that some public pension funds dangle perilously close to bankruptcy.

Thank you for your time and help.

Yes, you can. ‘Perilously’ sounds more dramatic to me.

Alan