Yes وحي has been sent to other than the prophets.
For example you may find in the Quran of it being sent to the disciples (5:111), to the bees (16:68), to the earth (99:5), to the mother of Moses (28:7, 20:38) etc.
Similarly the hadith that mentions an incident among the Children of Israel when an angel was sent to test them, and the hadith that mentions that the companion Imran bin Hussain was greeted by angels. The report that Hudayfa saw and received a message from the army of angels after the battle of Ahzab etc.
It is known that these people were not prophets.
This 'revelation' is different from the revelation that happens to a prophet via Gabriel. It may for example have been in a dream. Or in the form of إلهام which is sent to the heart of a person. Or by an angel sent in the form of a human.