Yes you can do this to stop a service:
setprop ctl.stop <service>
And to start:
setprop ctl.start <service>
setprop is an executable PATH, so you could use the system( ) C
functions call (Not 100% sure if it is supported in Bionic), but if it
isn't you can always fork and exec that image and do it that way.
There may also be an API for it, but I didn't see anything in the NDK
so you would have to use an internal one that could break your
application if the interface changes.
Good luck...