Yes you can export DWG in Revit if it is imported. If it is linked, you can change the link to Import and explode.
See pics below for steps.
However, it is better to clean up the DWG in AutoCAD before link it in so your Revit is not cluttered with imported line styles and CAD stuff.
If you do want to explode DWG in Revit, do it in a different project file or family, then link or load it in your working Revit model.


You can also just select a link or imported DWG and use Query tool to delete or Hide layers without exploding it.
