Yes of course, here is my steps:
01. mkdir /mnt/chroot
02. debootstrap bullseye /mnt/chroot
03. mount -t proc none /mnt/chroot/proc
04. mount -t sysfs none /mnt/chroot/sys
05. mount --bind /dev /mnt/chroot/dev
06. chroot /mnt/chroot /bin/bash
07.
cat <<EOF > $MNT_DIR/etc/hosts
127.0.0.1...