DWG to GPX conversion is not possible but you can perform a conversion from a DXF file which is basically almost the same thing as a DWG file. For that there is an application called Dxf2gpx that will help you achieve this.