Welcome to the forum.
A GmbH needs to have one person who is a) resident here and b) authorised to sign on behalf of the company. However, that person does not need to be you (ie you can pay/bully someone else to be that person).
Have you checked out this site
? They say that they can put you in touch with someone who will act as your Swiss resident. If they're too expensive, send me a PM.
There's no problem working for foreign companies out of Switzerland. They will need to pay reverse charge VAT.