Questions about a custom-made MQTT device

I’m going to start a project soon that will make use of a Raspberry Pi (MQTT broker, Node Red, MySQL) and an ESP32 microcontroller. The ESP32 will communicate with the Rpi through MQTT. The Rpi will use a touchscreen, using the Node-Red Dashboard widgets.

I was just wondering if it would be possible to bridge the Rpi broker to HA, and to make use of the devices data?

Most certainly, using the MQTT integration you can attach to the broker and subscribe to the information from the devices: