You can configure a proxy on iPhone via the WI-Fi settings. But because of the iOS security settings , the proxy will work just for browsing (via chrome, safari etc) but it won’t work on the applications.
Articles Tagged: Mac
How to set proxy in Safari
Please make sure that you click both, WebProxy (HTTP) and Secure Web Proxy (HTTPS), otherwise the proxy will work by default only on http sites.