Can methane and oxygen be separated. If yes, can anyone please mention the method

cool them down and liquifiy the mixture, methane will liquify first, you can drain it off. Method: separation of liquid and gas.