Yes, it is OK as long as the wires are properly labeled. However, since you will be using the traveler as a "Neutral", what will be your traveler?
I assume that you you also have a Hot by the 3 - way. Therefore, a solution would be to put a separate master at the 3 -way and use that as a...