Depends on the TYPE of ban. If you are just banned from the online gaming server then yes, you retain e-shop access and can still buy digital games, dlcs and get updates. However if you get a CDN/Cert Ban(AKA A superban) then you loose access to ALL online services which includes e-shop access and even firmware updates
But you can install those FWs and updates separately.