Even flying to Luwuk is risky—you could get stuck and miss your return flight. Flight cancellations are common in Indonesia.
For the domestic flight before your return from Jakarta to xx, you’ll be flying either from Makassar—which has plenty of backup air options (no fewer than 7 airlines with 25–30 daily flights from Makassar to Jakarta CGK)—or from Yogyakarta, where both road and air alternatives are also abundant.
There are 2 daily flights between Luwuk and Makassar. When it comes to air service in remote areas, it could be way worse. If your flight gets canceled, you won’t be stranded for days.
For Makassar-Luwuk, same as above, plus you’ll be at the start of your trip (if I understood correctly), so if there’s a one-day delay, you can adjust the rest of your itinerary—even with 10 days—if you stick to 2 main stops as suggested.
For Luwuk-Yogyakarta via Makassar, the last flight from Luwuk arrives in Makassar at 4:15 PM, then there are 2 flights around 6 PM to Yogyakarta YIA (Lion Air and Sriwijaya Air). Fewer backup options, but it’s not hopeless.
One thing to know about Indonesia: if you’re struggling to find a last-minute seat on a flight in smaller cities, a little *bakshish* can work wonders. Head straight to the airline’s office in town or at the airport. If they tell you, “No, no, no, sir, the flight is full,” just place a small bill equivalent to around twenty euros in rupiahs on the counter with a hopeful look. Suddenly, the agent might “find” a seat that “opened up in the meantime”... I’ve tried this twice—both times in Ende and Bima—and it worked. In both cases, the plane was far from full...