It can be set but the issue is actually memory consumption. If I recall correctly there might not be enough memory space to enable FreeRTOS with the STM32G0 nucleo, or barely. If you create a custom board with the STM32G0 mcu then you add external memory I guess.