It is highly recommended not to do so. The TWRP is a touch-based recovery, meaning that it needs to initialize touch screen (actually every related hardware) before showing the main menu. If you insist on flashing a 'generic' TWRP to your specific, non-matching device, you will end up getting stuck and your recovery will never boot until you flash another compatible one.
The same applies to CWM as it's button-based. Given that different devices often have different volume keys & power key mapping & signals, some devices can share their CWMs but not all of them.
You had better contact the TWRP dev team or do some searches in the XDA forum, with the hope that someone might have already adopted TWRP to your device.
Edit 1: Thanks to @AndyYan who pointed out a mistake in this post. Corrected now.