Yes! I believe it is in the best interest of the homeowner to have a main panel upgrade permitted. I will not do a main panel upgrade or change out without a permit. So yes, I firmly believe this work should be permitted.
But do not let anyone talk you into you pulling a “homeowner’s permit” as any qualified electrical contractor would do that, not you.