Could you remain friends with a friend that you were in love with?

If you knew they didn't feel the same way and they got into a relationship with someone else.

Could you remain friends with a friend that you were in love with?
Post Opinion