Not knowing what you mean by dangerous, iso-propyl alcohol (standard rubbing alcohol, either 70% or 99%) should have no effect on a carpet other than to kill 99.99% of bacteria and viruses in the carpet.
Usually rubbing alcohol contains methyl alcohol. It will kill you or at-least make you blind. Never use rubbing alcohol for drinking purpose. Specially when you have so many good alcohol beverages to drink.