No, you can't.
Unless you are flying the F15/A10 on a server/mission which has only the NATO aircraft (besides German Mig-29) on the blue, and the Sukhois/Migs on the red side.
Basically you cannot IFF with RWR/TEWS, but knowing the OPFOR aircraft type, you can determine if they are hostile or not.