MQTT broker added to RAK7248

I have a RAK7248 gateway with chirpstack. I am wanting to know if i can add Mosquito to the device. by doing so, i want to convert my Lora frames to MQTT for my PLC to subscribe to. i do not have the ability to use the internet/ cloud. has anyone done this?