No, saying this would imply that you only inherit two genes, one from your father and one from your mother. As you inherit multiple genes from your father and multiple genes from your mother, the correct sentence is:
I inherit genes from both my parents.