No. Your Visa on Arrival ends as soon as you leave Indonesia, and with it any extension that is still in progress. Once the process has started, we can't refund the extension. So only book the extension if you'll stay in Indonesia beyond your current expiry date.