Yes. So, what is the problem? or is there one? (why not just do exactly what you said).
I mean, if the jpegs aren't imported yet, then you'll need to import them.
I guess I don't understand the issue or reason for the question - you can edit/export either raws or jpegs - your choice - I don't see where the "complexity" is..