This is complicated
If you take the literal meaning of it and apply for a patent using someone else’s scientific and technological achievements, this is unethical. In theory, this patent application should be someone else’s.
Unless you have an agreement in advance, this patent application will be assigned to you