I can't speak to all local apps and how they handle your nsec. However, if they are keeping your nsec local to your device, and not sending it anywhere, then being connected to a VPN is not going to allow that VPN to see your nsec.