Answer:
Short answer: No, it's not ok
Step-by-step explanation:
Long answer:
Technically, no its not okay. Self-plagiarism is still considered plagiarism by academic standards. If a professor were to test it to see if it has already been written, and your old paper pops up, then it would be considered as cheating and plagiarism.
I hope this helps! have a wonderful rest of ur day :)