No, you cannot restrict to just host/co-host, all other Panelists would be able to chat with each other as well. But the Host and Co-Host could send private messages to each other. If host and cohost need to chat but they do not want anyone else to be able to, then I would recommend that the Host and Co-Host use Zoom IM (outside of the webinar).
If this has answered your question, please click the Accept as Solution button below so that others in the Community may benefit as well.
Thanks!