I have optimized charging enabled and I never get an audible notification when charging completes, focus or not. Have you maybe set something up in shortcuts that has the time-sensitive flag enabled?
Regardless, I haven’t had any alerts break through during focus except the ones I explicitly allow.
Why do I feel like there should be a saddam hussein silhouette hiding in there somewhere?