Not sure anyone is doing any active development on a 15+ year old platform.
Pretty sure you can write whatever code you want, the ARM7 is certainly capable of running assorted RTOS, but expect at this point you're going to have to carry all the water and be familiar with your own design/architecture.