Yes, they can treat piles through medications. However, they can't perform surgeries when required. This is a core expertise of a proctologist.