I did so, too, and had to jump through a lot of burning rings to keep CRE working. There are several perl incompatibilities, so now I have these obsolete packages lingering around (which could theoretically also be installed on a fresh bookworm installation if you download them from packages.debian.org or add the buster distro to your sources.list):
- lcab 1.0b12-7+b1
- libffi7 3.3-6
- libldap-2.4-2 2.4.57+dfsg-3+deb11u1
- libperl5.32 5.32.1-4+deb11u2
- libssl1.1 1.1.1n-0+deb11u5
- libtiff5 4.2.0-1+deb11u4
- libwebp6 0.6.1-2.1+deb11u1
- perl-modules-5.32 5.32.1-4+deb11u2
I also had to meddle with lib/perl5/lib/perl5 which contained .so files incompatible with other upgraded libs.