IV is not derived from a constant mathematical function, and the only way to derive it is from LTP(CurMktPrice)
Given an IV, u can correctly calc price and vice-versa.
Therefore, if u have the CMP, u can certainly use the BS formula to get IV in ur AFL.