is there a way to convert audio in socket to headphone socket

Solution
It would be similar to ask "can I change the sewer in the kitchen to a beer tab"?

Unless the unit itself is designed for such connections (eg with a switch), your only choice is to hack it.