Give a snap write access to the whole /dev directory

I am working on an application that needs to be able to read and write to files in the /dev directory as configured by the user. This can be achieved with the system-files interface. However, the documentation states the following:

Importantly, this interface should not be used as a means to give access to system files where the snap is not the clear owner (eg, /dev, /proc, /sys, /usr, etc)

I understand that there might be safety concerns but I need this functionality for my application. Is there a different acceptable way to achieve this or are snaps simply not supposed to have this kind of file system access?

Not sure there is a specific interface that allows access to everything, but I know that system-files is not it. The full list is on https://snapcraft.io/docs/supported-interfaces, as an example https://snapcraft.io/docs/block-devices-interface

Okay, thank you for your reply! Perhaps the best option is just to use classic confinement.