Here is a macro that deletes frames from the active document, leaving the frame contents in place.
This macro makes significant changes to a document and I cannot be sure how it will affect different documents. I have only been able to test this on one document containing frames. The word count was the same before and after running the macro.
I strongly suggest that this macro is only used on copies of documents, not originals.
Here is the code:
Dim n As Integer
'loop through each frame starting at the end
For n = .Count To 1 Step -1
'Delete frame - contents remain unchanged