This.
I'm having a sleep lap study in the coming weeks. It will be my third. Going on my 3rd CPAP (may be a BiPAP this time) in 25 years. So yes they still do them - sleep overnight in a lap with a bunch of sensors on you with someone watching your sleeping and adjusting your CPAP/BiPAP settings throughout the night to come up with the correct settings for the individual.
I took a at-home sleep study weeks ago to look into getting a MAD device (through a company not affiliated with my sleep doctor), but as my sleep doctor told me earlier this week, in my case it probably wouldn't help as at my last sleep study 15 years ago I had 144 episodes per hour. That isn't a typeoo. Thats nearly 3 a minute. That at-home study, which I did without my CPAP, was the worst night I've had in over 20 years. But I wanted to do it to see if the numbers aligned with the range where a MAD has been seen to be effective. Sadly probably not.
My CPAP is my best friend at night and has been for nearly 25 years. I even have a battery/inverter that I use when the power goes out or I go camping.
I do know of people where a MAD device was able to completely replace their CPAP. But all of those cases were mild compared to mine - having 30-50 episodes an hour versus my 144.
Yes being overweight is a contributing factor for my sleep apnea, but when i was diagnosed 25 years ago that was much less so, and I was still having about 120 episodes an hour back then. So it isn't all about weight.
Bottom line: it isn't a one size fits all thing. I'm sure the pill will work with some people as the trials are showing, not so much with others, in the same way that MAD devices do not always work. As for CPAP/BiPAP, my setting is currently a 14, and I hardly notice it. But I've heard plenty of stories of people who simply can't get used to or tolerate a CPAP. For me, I can't live without it.
I also know a pediatric "airway" dentist personally who told me last year that the goal was to get people off of CPAP with newer treatments, such as MAD devices. And I would tend to agree because its much easier to lug around a MAD device than a CPAP when traveling or being outdoors, and you don't have to worry about having power. But I don't think the shoe will fit for everyone.