CMSIS-RTOS2 provides an API for you to use to interface with FreeRTOS, so you can avoid using FreeRTOS directly. This is further supported by the STM32CubeIDE’s GUI.
https://www.keil.com/pack/doc/CMSIS/RTOS2/html/index.html