Is this okay to use double proxy-server setup (on host and in container) on one machine?
Sure, you put in as many proxies as you need. You don't want to over-complicate things, but it seems you have a good reason for your architecture.