There are a few phones that still do a headphone jack and expandable storage but they definitely aren’t the big flagship brands if that’s what you are looking for.
Heck, Moondrop a predominantly audio gear manufacturer, just launched a phone specifically for audiophiles and it has a 3.5mm/4.4mm headphone jack combo. I don’t think its quite as modern in the other aspects but hey, it has the unicorn features we don’t see nearly as often!
Sounds like it’s just another tool in a coding arsenal! As long as you take care to verify things like you did, I can’t see why it’d be a bad idea. It’s when you blindly trust that things go wrong.