Absolutely, you can create any service you'd like. You follow the same principles. The YANG module is the schema of data that you want to capture, the XML template contains any configurations towards other services or NEDs, and if desired the Java code is the glue in between also allowing for EAST/WEST integration.
The service you build in NSO should match the organization's service definition.