Yes, a country can use another country's currency as its official currency. This is known as dollarization or currency substitution.