No way. I’ve had some domestic check in lines take 1 hour + on some occasions in Indonesia. I am SFO based and fly to Indonesia in some capacity (mostly to Singapore first then through Jakarta) twice a year and I would never dream of doing such a short connection on a separate ticket like that at the port of entry. In fact, my minimum for international connections is 3 hours when just doing a transit and no customs or immigration. Any time customs and immigration is involved it makes it even more difficult. Delays are also a thing and that can compound. When you land, you have to go through customs and immigration, grab your bags, and do the song and dance of check in and security again. If you miss it, you’re on your own to figure it out. I also aim to arrive in Sorong at least 1 day ahead of when I need to board a liveaboard in case of delays and cancellations.
That flight to Sorong is a red eye and after a long day of travel it’s nice to be able to shower and get some rest before going onwards. From SFO there are usually some flight options that get you to Jakarta about 12 hours before those midnight flights to Sorong that stop in Taiwan or Japan. I’d look for a flight that gets you into Jakarta earlier if you don’t want to spend an extra day there (I don’t blame you.)
Another option is you can buy your own ticket to Singapore and fly direct with UA or SQ then buy a separate ticket to Sorong which stops in Manado or Jakarta on the way there but it will be on the same ticket. There are flights arriving every 12 hours from SFO in Singapore with just those 2 airlines and they each have 2 flights a day. That will give you some flexibility and enough time to connect to another flight on the same ticket in Jakarta or Manado so that will make it a little easier. The flight to Sorong from Manado is really easy and direct. Singapore Airlines also has a flight that goes to Singapore then Manado on Scoot, their budget carrier, on the same ticket. You can also buy a Sorong flight from there on a separate ticket. I’ve flown all these options so let me know if you need help.
Happy to look at itineraries through PM with you.