I've refrained from commenting on Pence's moral duty in that period (Public Board)
Pence could have questioned the electoral votes from certain states. That authority for the VP was election law since 1887 until the Congress amended it in 2022 as a result of what happened in the 2020 election. All Pence needed in 2020 was an objection to the electoral votes from one Senator and one House member in Congress. That would have been easy to get for Pence.
In 2022, Congress changed the roll of the VP in electoral vote counting to a ceremonial act. Here's a brief article about the new legislation.
So, he could have done it and should have tried. It might not have worked but people would have appreciated that he tried and fought for election integrity. The Jan 6 people were there to hopefully influence his decision. The swing states all had significant voter fraud problems that should have been corrected or their electors would not be counted.
Everyone has their own take on what Pence did but it bothers me that he didn't question anything and certified the vote. People had concerns but it didn't matter.