THAT is the right way to do it. I hate going to DMV to renew so I don’t and am thankful for online even though I have to pay extra and should not.
We have two vehicles, two boats and two kayaks, we have licenses and 3 boat trailers.
I renew all licenses of the above on line for the same cost.
Our DMV is fairly well run, however, at times when renewing my driver’s license and having to go there, I have been the only English speaking and white guy there.