Rpi-dht22 node RasPi 5 Bookworm "TypeError: failed to initialize"

Pretty sure they don't.
I believe the basic issue is that the IO hardware on the Pi5 was changed, but Node-red on any Pi running Bookworm is likely to have problems with GPIOs.

I do have BME280 and BME680 sensors. I do not have a Pi 5 and I am very reluctant to connect wires to my Pi 4 GPIO pins. It's too easy to kill the Pi.
They are connected instead to ESP boards running Tasmota and (once Tasmota is configured) send the readings automatically over MQTT.

There are suggested fixes online.
If you do manage to get it working, please come and describe your method for the benefit of others!