That's not how this works. You don't "front load" the interest.
A mortgage is calculated to have constant payments.
When you have 100k in debt and 6% interest, in the first month you pay 0.5% (12×0.5=6) interest on the full 100k. So that's $500. Lets say your payment rate is $1000/month. That means $500 is left for principal (ignore taxes, insurance here .. they make it worse!). Now next month you owe .5% on 99.5k. So $497.5 in interest. Great! You can now pay $502.5 on the principal! Repeat .. repeat.. repeat .. at some point you are down to 50k principal. Now your $1000 goes into $250 interest and $750 principal!
If everything was calculated correctly, your last payment will be almost entirely principal!
So yeah, "interest is frontloaded" is indeed how it looks or feels, but it's not a mischievous mortgage lender trick. That's how interest always works.
And in no way does this imply you are better off paying down the principal!
Because the same compounding also happens on the savings side. If you managed to invest $1000 at 10%, instead if throwing it in as extra principal in month1, you earn compounding interest on this over the 30 year life of the mortgage. So on net you win 4% in this optimistic example, compounding!