Yes, each module usage is a separate task. You can use roles to group together tasks so that you can reuse them. Have a look on ansible galaxy - there are lots of roles there to install and configure things.
Once you have tried using and making roles, it would be worth looking at blocks as I think they can be used to group together related tasks.
Jon