VPN apps are perfectly legal to be used in any country with an iPhone. Certain exceptions to the rule are North Korea, iOS VPN for china, Egypt, Iran, and Russia. Also, if you live in a totalitarian country, you should use these apps with caution.