if it were that simple, why doesn't everyone use it? Matrix, signal, telegram, wire, whatsapp, etc. all use their own protocol instead of just plugging in libotr. (I never looked into libotr myself, only ever used it in pidgin on top of gtalk and msn, so I don't know much about it)