I agree with Oleg,
The OSAL is so incorporated into the TI Stack that you'd spent too much time ripping it out. If you were worried about the OSAL getting in the way, you could just use the CC2540 as a radio and use another chip, ie (MSP430) to control it over HCI. Then you can do whatever you want with regards to your code.