Discords roles are really well done and make totally sense in a hirarchical chat system. However i don't see this being sensical in a professional (flatter) environment.
There are certainly bots that automate that on Discord. A bot can open the private channel, add the temporary role, assign the temporary role, then close all that stuff when the chat is done. If it's a voice chat you don't even need a temporary role, the bot can "drag" users to/from other voice chats, so you can have a "public" lobby for the private voice rooms that only the bot can fill. (I've been in game servers built that way.)
> What if you just want to join a channel to drop one line and leave, where did they put that role bot button thingy again to automatically assign roles?
Discord just released a much more comprehensive slash-command system. It will be a while before more bots migrate to it (and away from Reaction "buttons" and weird individual choices for command prefixes), but it supports now some powerful auto-complete/help prompts and argument schema validation.
Discord's permission system is one of its killer features, IMO.