yes you can be a partner in a company working in same field, nothing is impossible.
You can be a partner of exist company then your name will be added in the CR, and your business will be 100% legal.
If you need more help contact me.

Good luck
Basem
[email protected]