Can't find RAM and CPU specs for RTL8372N. Would be interesting to flash OpenWRT onto it.
Which means that if you know how to program ESP32 and setup the RTL8372 switch you can have massive flexibility with it. If you don't, then you are stuck with whatever Ubiquiti firmware is being run by this switch.