Being able to edit an APK's proxy

hey guys! i wonder if it’s possible to edit an apk’s proxy (example the app requests blabla.com/photos/1.jpg to use it in the app) so i can change the links to my own hosting’s link with the same file name and same folder, so it can get my modified"1.jpg" in the app. i also want to send this proxy-modified app to my friends

The proxy would be able to rewrite the URLs to point to another server, but it does not affect the APK/application itself. In order for someone to use the application with the redirection, they’d need to be able to access your instance of the proxy.