Yes: https://en.m.wikipedia.org/wiki/Traffic_collision_avoidance_...
FR24 is a combination of ground-based radar (both primary and secondary surveillance) and ADS-B data.
TCAS (as I understand it) uses the transponder part of secondary surveillance radar, but with out the bearing/ranging info, as well as ADS-B (if equipped).