Would it be ok to tell them both that its ok for my friend to get in touch once he gets over this "attraction"?
No. He probably won't get over his attraction for you. Ever. His brain is probably locked in "I want to date this cute girl" mode.
Also, I kind of already had a feeling that my friend felt this way, do I tell my boyfriend this?
Do not volunteer this info, but if your bf asks, tell him honestly. Admit you were wrong.
I have a long time interest in psychology, specializing in relationship dynamics for 30 years.
(Please note, we give the best advice we can based on the information given in a post. For better advice, please include the age of all romantic partners.)