Yup. You can do that. HOWEVER this is also a good way to encourage plants that are genetically disposed to becoming herms to display that trait. Google 'cloning for sex' and use that method instead. It will save you plenty of grief.