We demonstrate herewith the application of in situ one-shot free radical photo-polymerisation (UV-curing) process to incorporate room temperature ionic liquids (RTILs) into polymer membranes which can be used as electrolytes for lithium-based batteries. The reactive formulation for the preparation of the polymer membranes was based on a dimethacrylic oligomer (BEMA). The polymer electrolyte membranes were synthesized by UV radiating a mixture of BEMA and a proper radical photo-initiator with different compositions of 1-ethyl-3-methylimidazolium bis(perfluoroethylsulfonyl)imide [EMIPFSI] and, additionally, LiTFSI as lithium source. Stable and flexible polymer films with good mechanical integrity can easily be produced with varying the EMIPFSI content by using this method. Remarkable values of ionic conductivity were obtained even at ambient temperature. Galvanostatic charge/discharge cyclability tests were performed on the polymer electrolyte membranes by constructing a cell using LiFePO4 as cathode and Li metal as anode. The preliminary results are interesting, exhibiting good reversibility and cyclability.