Yes, please read messaging api documentation. https://developers.line.biz/en/docs/messaging-api/
Q&A
Is it possible to use Line as a Enterprise official account?
So, I decided to make Line official account like a wechat enterprise which can be able to connect to SQL information. Example salary, personal information, ID and more. Is it possible to use?