Implementation of IAP -> Trial Period to Purchase Product

I would like to know if it is allowed to offer the user to either unlock the app immediately or partake in a 3-day trial period before making a purchase.

I created 2 IAP non-consumable products; 1 for the immediate [which is at a discount] and for the after trial period ends [this is at a higher cost].

Is this something that Apple allows or is frowned upon?

Implementation of IAP -> Trial Period to Purchase Product
 
 
Q