If the lead part is a good melody, and the harmony compliments the melody. Regardless of the notes used it's right. Non-harmonic tones usually resolve to a chordal tone, whether there a passing tone or on a beat. So F# over Am will commonly resolve to E or G# as a connection tone to A, or less commonly down to C. If it goes F# - C - the next note is usually C#. There's three different ways to use F# over an Am chord in A minor. There are others, but those are the most commonly and easily acceptable by the ear.
"My whole life is a dark room...ONE BIG DARK ROOM" - a.f.i.