Yes, if it’s a good VPN. A Netflix streaming error is mainly caused by Netflix detecting that you’re using an IP (Internet Protocol) address of what the service knows to be a VPN server.
The solution to that is to have a VPN supplier that has a lot of servers and the ability to constantly add new ones. For example, Surfshark has more than 3200 servers, 500+ of them based in the US. So if you get a Netflix streaming error, you can try connecting to a different city.