In most cases, yes. In addition to obtaining a freelance visa that legally permits you to vie for freelance jobs in a country, you also need to register yourself with the local business office. Staying in a country less than 3 months
Attention: Freelance work if you do it on behalf of another company or organization.
Put simply: all freelancers are self-employed, but not all self-employed are freelancers.