It is possible to create molecular systems with a membrane using CHARMM-GUI. There is also a tutorial available. The current version requires a registered user account but it is free for academic use. If you need the system for molecular dynamics simulations, one can easily create input files, e.g. for NAMD.