Earth Esim does provide eSIM plans for Switzerland that include a phone number and SMS functionality.
The available plans range from 6GB to 30GB of global data, all valid for 30 days. Prices start at $14.99 USD for the 6GB plan and go up to $64.99 USD for the 30GB plan. A local Swiss phone number is not provided; the dialing code is +44 (UK) for the 6GB, 12GB, 18GB, and 30GB plans, and +33 (France) for the 20GB Orange Global eSIM. All of these plans allow inbound and outbound voice calls and inbound and outbound SMS, so you can receive and make calls and send and receive text messages. For the exact call and text capabilities you can confirm with Earth Esim before purchase.