Technically, I'm not sure, but it certainly reads badly. At the very least, I'd change the "of" to a "to" but I'd rather scrap the sentence entirely and replace it with something like "Most banks charge their customers interest on accounts that are overdrawn.".