Use the given username for saying message

Oh ok, that’s what it seemed to me.
So if I want to speak on behalf of a bot in the TMI, can’t I? Exist as a bot on the channel and take action on its behalf?