Is TWRP OS-version specific?
yes, TWRP is built OS-version specific  

the reason is changes in android versions may differ in  


encryption type
file system type
partition layout
mount point


most (if not all) updates are backwards compatible. that means the TWRP is ready for android 9 but you can still run android 8 on your device