Can confirm that this is still an issue with iOS 18. I experience the same issue as @XVC_but on mobile apps. Toggling network type from Wifi to cellular and in reverse almost always resolves the issue so that notifications arrive nearly instantly.
I have found that the quickest way to reproduce the issue is to toggle the airplane mode on and after 5 minutes toggle it off.