Hi
This option is already available if you check marketplace you will several modules for it, free and commercial

Why not considering slack, discord or rocketchat all are great for team chat