microg implements some(?) of the IAP surface, you should be able to do a purchase through it. The wiki status doesn’t list Billing / In App Payments at all, but the help text in the microG settings suggest you can do a purchase - I never gave this any test so unsure if it can be taken at face value.