And no, that's exactly what you *cannot* do. The consequences are that your program will be taken down
You can do what ever the hell you want, and depending on what you're doing, no one might ever find out that you based your work on someone else's work.