Nice approach! On Ubuntu 24.04 I had to loosen some AppArmor protections by creating a file:
> cat /etc/apparmor.d/bwrap
#include <tunables/global>
/usr/bin/bwrap flags=(unconfined) {
userns,
}