Yes, there are ATMs that accept credit cards, but it might be easier if you have an ATM card instead since not all ATMs accept credit cards.
You will generally be more lucky to use Credit Cards in larger cities and at international banks.
Something that you have to be even more careful is that you might get fake banknotes in obscure ATMs such as in Hotels (even good Hotels). So do not pull too much money unless you are at a reputable location. Check the serial numbers, if they are all the same, they are fake. It's very common and illegal to own those.