I was considering this very problem yesterday, and I have an idea, though I haven’t tried it yet. For the dress I’m making, I sew the bodice down last by topstitching it over the seam that attaches the lining to the skirt. I used to do the reverse, but in this pattern I’m good enough that I get very good topstitching on the lining side, too. Okay, so I decided I wanted to attach a ribbon to the seam. My idea is that before I topstitch the bodice I would do a basting stitch instead, but I’d sew that basting stitch about an eighth of an inch above where I will be doing the topstitching. Then I would remove my pins and slip the ribbon just under the lip that of the bodice, then do the topstitching on the bodice, which catches the ribbon. For the ribbon ends, I’d fold them neatly before insertion into the bodice. I’m going to try it on my next one. Best of luck.