More than one circuit can be contained within a junction box. The only thing that needs to be considered is Box Fill. Have a look at this link
for help calculating how many wires are permitted based on box size.
The grounds of different circuits must be connected together and in turn connected to the metal box.