I am not sure what exactly you are asking. If you ask if it is ok to always pay with straight or flush draw and one card left (river) - it is not ok. You should calculate your pot odds and compare it with the chance to get your drawing complete (which depends on the number of outs). In some cases you should pay and in other you should not. Read more about pot odds and outs and you will see the concept.