Creating new Add-ons

Is there any documentation on OSMC-specific AddOn development? For example, whether AddOns can make system-level changes like installing a systemd service without sudo troubles?