I doubt that in Switzerland. If you're not registered as being a resident then you can't be taxed surely because you're just a tourist.
Unless you're independently wealthy or a student, yes you do.
"
I’d like to spend time in Switzerland but not in order to work. Will I be granted authorization to stay?
To take up residence in Switzerland without pursuing a gainful activity, people such as pensioners, students, or those of private means need to register with the local authorities of the place they reside and apply for a residence permit for non-working persons. Registration has to be done 14 days after arrival at the latest. This type of residence permit will be granted if you can prove that you possess sufficient financial means for you and your family members not to have to rely on Swiss social security benefits. Financial means are defined as being sufficient if Swiss nationals in the same situation are not entitled to claim benefits. Furthermore, you need to show that you have taken out adequate accident and health insurance. Contact the appropriate cantonal migration authorities for detailed information."
"
I would like to work in Switzerland. What are the conditions for getting a work permit?
Nationals of an EU-27/EFTA state only need a residence permit: this residence permit doubles as work permit.
However, a residence permit will only be issued if you have a written confirmation of employment (e.g. the contract of employment containing details of the duration of employment and the number of working hours)."
https://www.sem.admin.ch/sem/en/home...hweiz/faq.html