For a container-based sandbox in tmux, see workmux and its sandboxing feature.
The added isolation does come with some friction though, which is kind of by design.