That’s not really a one-to-one association, but a many-to-one with a unique constraint.
Check out this article for more details about how a one-to-one table relationship works.
Also, check out this article to learn the best way you could map that with JPA and Hibernate.
Now, back to your question:
is it ok to add column foreign key in parent like
No, it’s not. It’s a bad idea as it creates a circular dependency.