Yes, you can absolutely do this using code. In your Unity project, you can call the SendTextDataAsync method from the ConvaiNPC.cs script and wrap your custom line with a <speak> tag to ensure the NPC says exactly what you specify.
For example:
SendTextDataAsync("<speak> Would you like to know about X ? </speak>");
The SendTextDataAsync method is a very useful method indeed! I know the OP wants an exact phrase spoken, but it’s worth keeping in mind that if the speak tags are removed the character will usually still broadly stick to being told what to say, but with each execution of the method there will be some variation which stops repetitive dialogue, which I’ve found to be useful.