as long as ur not blindly copy pasting code and understand what the code you're writing is, yeah it's allowed