Calling FreeRTOS functions from an ISR before the scheduler starts can cause problems, as would using the handle for the buffer before you create the buffer (since the handle value would be invalid)
This is the reason that all calls to FreeRTOS functions will disable the interrupts, which will then be enabled when you start the scheduler. If you are overriding this behavior then you are “shooting yourself in the foot”.
The answer would be to just not enable the interrupts manually before the scheduler starts.