Yes. Provided it is held at a time well before the funeral liturgy, so that the funeral liturgy will not be lengthy and the liturgy of the word repetitious.

The vigil may also be celebrated in the home of the deceased, in the funeral home, parlor or chapel of rest, or in some other suitable place.