I have and use a CPAP every time we go podding. We stay in locations with electricity so I can use the 110v outlet right on the side of my bed for it. I wouldn't even consider using it on 12 volts.
The average CPAP is consuming 20 watts ... to know for sure what yours does then look on the bottom of it for the sticker that has the Amperes number and Volts number and multiply the 2 together. Remember that if you are also using a humidifier on your CPAP you need to add that in as well because it contains a separate heating element in it. Using it all night, set up on a deep-cycle battery, has shown that it will drain the battery usually after 4 nights of usage. That is not including any other additional loads you would be putting on the battery, especially if you are boon-docking it.
Of course, if you are only out for 1-2 nights you can risk it with less of a chance of draining your battery, or if you have doubled-up your batteries you will definitely be better off.