Yes it is possible but you shouldn't use an OTG cable when connecting to a computer.
An OTG cable is only necessary when the phone has to supply power to the 'device' connected to it. e.g. when you connect a flash drive to the phone, it needs power to work, because it has no power of its own. Without an OTG cable there is no power from the phone to make the flashdrive work. When you connect the phone to a PC, the PC has its' own power.
Have you tried an ordinary (or different) USB cable when you connect the phone to the PC? It may be that one of the data wires is faulty in the cable or the phone. Also check the port in the phone for dust etc. as stated below. Have you also checked that the PC USB port is working OK by connecting another USB device and see if it works properly?
You can test if the OTG function of the phone and the OTG cable is working by plugging an optical mouse (or any unpowered USB device which shows power connected (e.g. a light in the device) into the phone via the OTG cable and seeing if the 'light' in the mouse comes on. If it does then the phone is supplying the power.
If not then try the OTG / mouse in another phone and see if it works. If it does the problem is in your phone, check for damage (or dust) on pin 4 in the phone. If it doesn't work in the other phone either it is the OTG cable. (the other phone could also be faulty, although the chances are low that 2 phones have the same problem)
The following is why an OTG cable might not work.
Here is an image of the wiring for a standard cable and an OTG cable.
(click on image to enlarge for better viewing)
On the end that connects to the phone (left side of picture) pins 4 & 5 are joined together in the connector. If the wire has broken between the two pins or there is a problem with pin 4 (broken off or bent etc.) then the phone will still charge if pin 5 and 1 are still connected OK.
Use a magnifying glass and a strong light to check that all the pins in the connector that plugs into the phone are all there and that they are all straight and parallel with each other. Also check that the cable connector enclosure (where the pins are) is clean and that there is no lint or dust trapped which may stop a proper connection (also check the phone's port enclosure). If there is lint or dust DO NOT use a metal pin or probe to clean it out, try using a vacuum cleaner first. If this fails to remove the debris, then try a wooden toothpick to very gently (stress gently) clean the port.
Hopefully this is of some help.