good idea.
Start with a draft story with a few options and a good ending.
And show it to friends first. Their opinions are very important before you start coding.
My experience now is that making major adjustments afterward is very difficult.
Have fun!