Actually, there is an RCS API.
However, Google restricts its use to themselves and specific OEMS only. IIUC, that's currently only Samsung[0].
[0] https://www.xda-developers.com/google-messages-rcs-api-third...
IIUC, the RCS API is not part of AOSP[0], and as such, not part of LineageOS. As such, I believe the answer is "no."
[0] https://source.android.com/