Apple's TOS forbids it, and they will ban your app if you try.
There was a major lawsuit between Apple and Epic Games a while back over Epic allowing people to make Fortnite premium purchases through the Epic Store instead of through Apple and thus bypassing Apple's 30% charge...