Welcome to the forum!
To your issue: If you do NOT use a neutral wire at the Shelly, it does no harm to the Shelly to interchange L and O wires! There are some scenarios which are demanding such a modus operand. The forum’s lexicon has at least one example for this circuit. This means it was tested by multiple users…
Thank you so much. I tried to skim the forums before but was not able to find this specific application.
As of right now, a test circuit, no neutral and L & O switched is working perfectly fine right now. I will therefore go with this solution, as it seems safe.