Fractional share is legal in foreign exchanges. Apart from upstox, there is one app which has been proving such facility but only for US stocks. Account opening free and you get 5$ initial deposit bonus for account opening. The app is specifically made for Indians who want to invest in USA.