Yes, all the commands in your script will run as root. See also.
But keep in mind that running your whole script with sudo will also affect some environment variables like $USER, which will be root instead of your normal users name, but depending on your systemthe sudo configuration it will not affect others, e.g. $HOME. See also.