Virtual reality and virtual teach pendant

When using VR, is it possible to program the robot using virtual teach pendant??