With private APIs / a jailbroken phone it is possible. Apart from that it seems all apps that "record" a conversation actually add another participant to the call and let that robo participant of their own record the call. From a privacy and legal standpoint that is quite questionable and from a technical standpoint at least complex.
– luk2302Apr 02 '19 at 07:31