Just as long as you have one power source and 2 switch legs this can be done. Pigtail the hot line twice, once for each switch and connect one switch leg per switch. Connect all white neutrals together and cap off as well the same for the bare copper ground wires and push these two back into box and install switches