Imo, the best is really just to be friends with who you wanna date, and keep the friendship up for a year or 2
Assuming you and whoever know each other very well and this friend of yours has done you very well, then you may ask them out. All it takes is both of y'all to develop a really good friendship