Open Question: Would it be reasonable to get a single loan to pay down several smaller debts?

I am thinking of getting a mid-sized loan (no more than 5,000) in order to completely pay off three credit card balances, taxes that are owed this year, and two store cards. Does this sound reasonable? Would this help my credit score? Would I just be digging myself deeper into debt by doing this? Any advice would be welcomed. Thank you.