How to Implement Relational Operation using TCAM?
Yes, it is possible.
No, it is not normally done. Ordinary gates (LUTs on an FPGA) are far more efficient.
To compare two N-bit operands, it would require a N × 2N TCAM, but only N 4-input LUTs in an FPGA, or the equivalent amount of logic in an ASIC.