This is a question without a simple answer. If by "Linux", you mean the Linux kernel, then yes. The source code is available free of cost, and you are free to modify it with only a few restrictions. If you meant "a Linux distro", then maybe. Is Linux Free?
Alvin Hensel replied
392 weeks ago