What's the benefit of doing this that outweighs the downside of restarts? If your DB has to communicate directly with something over wan there are other options
at the network: ipsec, openvpn, wireguard
tcp proxy before the application: stunnel, spiped
mongo protocol is http right?
http tls proxy: haproxy, nginx, etc