not implemented Folks, but did you realize that Jolla Harbour approved an application that can act as a service, if requested by user? In particular, the socket activation required systemd service that is installed on users request in its home and enabled using user's permissions.
Note that, if you read Harbour FAQ, such approach seems to be in accordance with them. No special files are installed in the system, there are not scripts in RPM spec file, and so on.
Maybe its a way to provide such applications in future as well?