Create Github app self service

Currently one needs to create and install app via settings tab or via api.
Is their any way to achieve something like self service while creating app. Any sdk or library to create github app so that others can install it and we get their repository content with their consent.
Somethink sdk like slack have