The 2 examples you gave have legitimate reasons to not allow the virtual address. Your business license is issued based on your location (home, for example), but you can use a different mailing address (virtual address) for communications and billing. Banks have Know Your Customer laws that require your real address as the business owner, but you can use your virtual address for mailing statements. Pretty much everywhere else, websites, businesses cards, mailing addresses with vendors, etc, you can use your virtual address. Anytime you give out an address, it can be your virtual address.
But you generally are not hiding it from the bank, you are hiding it from the public. The bank doesn’t make your address public, putting it on a website, business card, mailings does. I have done both virtual and rented office space and never had any business mail come to my home address. You can still use the virtual address for your mailing address with the bank.