STM32WB55 FLASH_SR_CFGBSY never clears when using FreeRTOS and TIM1

Ok - the weird behavior you describe would be a strong indication for me of the most common cause of such behavior - a stack overflow. Or an inappropriate interrupt priority of an ISR using FreeRTOS API calls.
Please see e.g. this hints hopefully helping you to nail it :+1: