The BAP instructions runs on RaspberryPiOS Bullseye. IIRC some of the software that BAP compiles is optimized for ARM processors, not Intel or AMD.
Some of the software _MAY_ be available in the Debian x86 repos, but I wouldn't count on it.
Also you'd have to run as sudo in Debian, but, as it was pointed out in another thread, Debian and RaspberryPiOS handle sudo differently.
Kevin
-- KD9EFV