mitmproxy is a set of tools that provide an interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.
The package runs mitmproxy by default. To run another utility:
flatpak run --command=command_to_execute org.mitmproxy.mitmproxy