Can warts go inside anal? How to treat that?

Yes. You need to see a colorectal surgeon for treatment of warts inside the anal canal. They can be cauterized either with a chemical or electrocautery. Topical treatment wont work for anal canal disease.