Is sleeping on my side bad for my shoulders? I have pectus excavatim and seems to be sinking.

Wont make it worse. The sunken appearance of pectus may have been there before but as you develop it may become more pronounced. It can either be present at birth or not develop until puberty. Sleeping on your side should not make it any worse.