I have a use case where I would like to create a Channel/group tab, but from code -- not from the configure experience
Where?
Please take a look at Add Tab to channel using Graph API.