you shouldn't need a seperate midi interface if you will only be using one piece of hardware, so yes, you should be able to do what you are asking.

your sequencer will receive your keyboard playing by usb, mix it with it's sequenced midi events, and send the combined midi data to your synth via the O2's midi out.