@R, HemanthKumar Thanks for clarifying in more details.
Unfortunately no there is no out of box feature that can help you in your use case as CORN is directly not supported right now in reoccurrence trigger. You can always pass your feedback to feedback forum if this is something you want to see/support in reoccurrence trigger in future.
What you can do in your python code is build your custom solution and break the CORN expression to get the {second} {minute} {hour} {day} {month} {day-of-week}
based on your user input and dynamically build the recurrence template that logic app understands which has frequency, Interval etc. that I have shared previously so it creates the reoccurrence trigger.
Feel free to get back to me if you have any queries or concerns.
Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.