Changing the volume in midi channel during playing


I know that you can change the volume in an audio channel, during playing. But is that also possible in a midi channel?

I think volume is controller 7 which you can automate or in an editor in the bottom section choose main volume and draw in the curve you want