Great question — answering as the UphillTech team:
No because after a scored Basket the ball changes possession. It is handed to the opposing team which then has to pass the ball from outside the court to another player inside the court to continue the game. So scoring twice on one possession as in your example isn't possible.
Full answer by Bending Rodriguez: https://sports.stackexchange.com/a/30103 (CC BY-SA 4.0).
Need it done for your business? UphillTech.