2 links have been added on this idea.
  1. there are a few options for this already. see https://www.skyatnightmagazine.com/top-astronomy-kit/best-gadgets-turn-smartphone-into-astrophotography-camera/