I don't know if it would be cost-effective, or do any better job than a conventional corn-cob media and case polish regimen in a vibratory cleaner would.
When one gun shop-owning friend experimented with an ultrasonic gun cleaner for gun cleaning, he accidentally stripped the bluing off the gun. Fortunately for him, his customer was a really good sport.