There are chemicals that are sent into your muscles when you sleep. In a study, gamma-aminobutyric acid and glycine caused temporary paralysis to the muscles in a rat. You could (in the future) use electro magnetic pulses to the part of the brain that sends the signal for that chemical to be released, via a helmet, then have a monitor hooked up to the brain stem to observe the signals sent to the nerves, then use those signals to control a virtual avatar. But there are parts like senses (visual, auditory, ect..) that you would need some sort of microwave technology to stimulate parts of the brain in specific patterns to create sight, touch hearing ect. I wouldn't recommend doing all this with your friend. Try for a bank loan, then start a business and hire people from professions of virtual programming and neurologists. But dont start this until 2030 at least, or when we have some understanding of the brain.